From fbbfea8e8e536800a6a911eb90cecdd1f343f9e3 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 5 Aug 2022 21:10:17 -0700 Subject: Replace Common::BitCast with std::bit_cast --- Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp') 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 #include #include #include @@ -9,7 +10,6 @@ #include // 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(); if (!actual || actual != actual) - EXPECT_EQ(Common::BitCast(expected), Common::BitCast(actual)); + EXPECT_EQ(std::bit_cast(expected), std::bit_cast(actual)); else EXPECT_EQ(expected, actual); } -- cgit v1.2.3