summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2024-01-31 12:41:30 -0500
committerLioncash <mai.iam2048@gmail.com>2024-01-31 12:41:33 -0500
commit8e4b2565cd79c896aa20a670562fd6dc9cd2b161 (patch)
tree3e94ad8dc66303ea4f1185889f1b2b573a064090 /Source/Core/VideoCommon
parentb63dcd504daed02412609057703fc2f418eec095 (diff)
TextureConfig: Collapse std namespace for hash
Lets us collapse the namespacing and make the specialization a little less noisy.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/TextureConfig.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/TextureConfig.h b/Source/Core/VideoCommon/TextureConfig.h
index 462b3dddff..4e3976f938 100644
--- a/Source/Core/VideoCommon/TextureConfig.h
+++ b/Source/Core/VideoCommon/TextureConfig.h
@@ -79,10 +79,8 @@ struct TextureConfig
AbstractTextureType type = AbstractTextureType::Texture_2DArray;
};
-namespace std
-{
template <>
-struct hash<TextureConfig>
+struct std::hash<TextureConfig>
{
using argument_type = TextureConfig;
using result_type = size_t;
@@ -95,4 +93,3 @@ struct hash<TextureConfig>
return std::hash<u64>{}(id);
}
};
-} // namespace std