diff options
Diffstat (limited to 'src/corelib/tools/qhash.h')
-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 65ae9b75fd..ddffa69ec5 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -85,7 +85,7 @@ constexpr inline bool HasStdHashSpecializationWithoutSeed<T, std::enable_if_t< >> = true; template <typename T> -size_t calculateHash(const T &t, size_t seed) +size_t calculateHash(const T &t, size_t seed = 0) { if constexpr (HasQHashOverload<T>) { return qHash(t, seed); |