mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
VertexLoaderUid: remove operator<
Not needed for unordered map.
This commit is contained in:
parent
ec28a80e00
commit
1281798992
3 changed files with 12 additions and 34 deletions
|
@ -23,20 +23,6 @@
|
|||
|
||||
static NativeVertexFormat* s_current_vtx_fmt;
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
||||
template <>
|
||||
struct hash<VertexLoaderUID>
|
||||
{
|
||||
size_t operator()(const VertexLoaderUID& uid) const
|
||||
{
|
||||
return uid.GetHash();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
typedef std::unordered_map<VertexLoaderUID, std::unique_ptr<VertexLoader>> VertexLoaderMap;
|
||||
|
||||
namespace VertexLoaderManager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue