fix for hash specialization for QUuid

This commit is contained in:
Stephen Birarda 2015-08-24 17:09:52 -07:00
parent d02e5b2450
commit c8ba24817f

View file

@ -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