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