mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
TextureConfig: Collapse std namespace for hash
Lets us collapse the namespacing and make the specialization a little less noisy.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user