summaryrefslogtreecommitdiff
path: root/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-08-05 21:10:17 -0700
committerPokechu22 <Pokechu022@gmail.com>2024-05-03 18:43:51 -0700
commitfbbfea8e8e536800a6a911eb90cecdd1f343f9e3 (patch)
treee591d19127ac8cea60acf1108a6273dba6111558 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
parent57c890d4fcec1b86d71a8a5ad9c51c548a7bd9cd (diff)
Replace Common::BitCast with std::bit_cast
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
-rw-r--r--Source/UnitTests/VideoCommon/VertexLoaderTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
index eedbff0304..853d690142 100644
--- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
+++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
@@ -1,6 +1,7 @@
// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <bit>
#include <limits>
#include <memory>
#include <tuple>
@@ -9,7 +10,6 @@
#include <gtest/gtest.h> // NOLINT
-#include "Common/BitUtils.h"
#include "Common/Common.h"
#include "Common/MathUtil.h"
#include "VideoCommon/CPMemory.h"
@@ -81,7 +81,7 @@ protected:
const float actual = m_dst.Read<float, false>();
if (!actual || actual != actual)
- EXPECT_EQ(Common::BitCast<u32>(expected), Common::BitCast<u32>(actual));
+ EXPECT_EQ(std::bit_cast<u32>(expected), std::bit_cast<u32>(actual));
else
EXPECT_EQ(expected, actual);
}