mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +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> {
|
namespace std {
|
||||||
size_t operator()(const QUuid& uuid) const {
|
template <> struct hash<QUuid> {
|
||||||
return qHash(uuid);
|
size_t operator()(const QUuid& uuid) const {
|
||||||
}
|
return qHash(uuid);
|
||||||
};
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // hifi_UUIDHasher_h
|
#endif // hifi_UUIDHasher_h
|
||||||
|
|
Loading…
Reference in a new issue