mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02: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:
parent
b63dcd504d
commit
8e4b2565cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user