mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00: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
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue