diff options
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
| -rw-r--r-- | Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 4 |
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); } |
