mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:58:59 +02:00
add a comment for the UUID hasher
This commit is contained in:
parent
587df1178d
commit
df3eca5aca
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
||||||
|
|
||||||
#include "UUID.h"
|
#include "UUID.h"
|
||||||
|
|
||||||
|
// uses the same hashing performed by Qt
|
||||||
|
// https://qt.gitorious.org/qt/qtbase/source/73ef64fb5fabb60101a3cac6e43f0c5bb2298000:src/corelib/plugin/quuid.cpp
|
||||||
|
|
||||||
class UUIDHasher {
|
class UUIDHasher {
|
||||||
public:
|
public:
|
||||||
size_t operator()(const QUuid& uuid) const {
|
size_t operator()(const QUuid& uuid) const {
|
||||||
|
|
Loading…
Reference in a new issue