diff --git a/Source/Core/VideoCommon/VertexLoaderBase.h b/Source/Core/VideoCommon/VertexLoaderBase.h index 26d6f3ff2e..451f035793 100644 --- a/Source/Core/VideoCommon/VertexLoaderBase.h +++ b/Source/Core/VideoCommon/VertexLoaderBase.h @@ -46,14 +46,11 @@ private: } }; -namespace std -{ template <> -struct hash +struct std::hash { - size_t operator()(const VertexLoaderUID& uid) const { return uid.GetHash(); } + size_t operator()(const VertexLoaderUID& uid) const noexcept { return uid.GetHash(); } }; -} // namespace std class VertexLoaderBase {