diff --git a/Source/Core/VideoCommon/VertexLoader_Normal.cpp b/Source/Core/VideoCommon/VertexLoader_Normal.cpp index 4043204db6..692941f3b9 100644 --- a/Source/Core/VideoCommon/VertexLoader_Normal.cpp +++ b/Source/Core/VideoCommon/VertexLoader_Normal.cpp @@ -30,7 +30,7 @@ constexpr float FracAdjust(T val) // auto const U16FRAC = 1.f / (1u << 15); // TODO: is this right? - return val / float(1u << (sizeof(T) * 8 - std::is_signed::value - 1)); + return val / float(1u << (sizeof(T) * 8 - std::is_signed_v - 1)); } template <> @@ -70,7 +70,7 @@ struct Normal_Direct template void Normal_Index_Offset() { - static_assert(std::is_unsigned::value, "Only unsigned I is sane!"); + static_assert(std::is_unsigned_v, "Only unsigned I is sane!"); auto const index = DataRead(); auto const data = reinterpret_cast(