diff options
| author | Tilka <tilkax@gmail.com> | 2024-05-04 08:24:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-04 08:24:59 +0100 |
| commit | c442c0d5e5dc993562b43871a7548d64bc82a1ad (patch) | |
| tree | f8d0e97e62b7212788ef1d121598e160fb163662 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | c23562b7b5f43d27dab62ce6e3a25a2c3c35aed4 (diff) | |
| parent | fbbfea8e8e536800a6a911eb90cecdd1f343f9e3 (diff) | |
Merge pull request #10957 from Pokechu22/std-bitcast
Replace Common::BitCast with std::bit_cast
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); } |
