mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
fix for hash specialization for QUuid
This commit is contained in:
parent
d02e5b2450
commit
c8ba24817f
1 changed files with 8 additions and 5 deletions
|
@ -24,10 +24,13 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
template <> struct std::hash<QUuid> {
|
||||
size_t operator()(const QUuid& uuid) const {
|
||||
return qHash(uuid);
|
||||
}
|
||||
};
|
||||
namespace std {
|
||||
template <> struct hash<QUuid> {
|
||||
size_t operator()(const QUuid& uuid) const {
|
||||
return qHash(uuid);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif // hifi_UUIDHasher_h
|
||||
|
|
Loading…
Reference in a new issue