diff options
-rw-r--r-- | src/corelib/tools/qhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h index 8fe66aac76..42c33f6f78 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -109,7 +109,7 @@ template <typename T1, typename T2> inline uint qHash(const QPair<T1, T2> &key) return ((h1 << 16) | (h1 >> 16)) ^ h2; } -template<typename T> inline uint qHash(const T &t, uint) { return qHash(t); } +template<typename T> inline uint qHash(const T &t, uint seed) { return (qHash(t) ^ seed); } struct Q_CORE_EXPORT QHashData { |