summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/RenderState.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/RenderState.h b/Source/Core/VideoCommon/RenderState.h
index 8e0902b88e..4a682b1a0f 100644
--- a/Source/Core/VideoCommon/RenderState.h
+++ b/Source/Core/VideoCommon/RenderState.h
@@ -220,17 +220,14 @@ struct SamplerState
TM1 tm1;
};
-namespace std
-{
template <>
-struct hash<SamplerState>
+struct std::hash<SamplerState>
{
- std::size_t operator()(SamplerState const& state) const noexcept
+ std::size_t operator()(const SamplerState& state) const noexcept
{
return std::hash<u64>{}(state.Hex());
}
};
-} // namespace std
namespace RenderState
{