aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/scriptengine.h
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-12-13 13:51:25 +0300
committerIvan Komissarov <abbapoh@gmail.com>2021-12-13 13:51:25 +0300
commit119d6195adcd1bceb6eabb59062d54b639ca22a7 (patch)
tree40db0335c122bd41205d0399a3a87091e56d8ccd /src/lib/corelib/language/scriptengine.h
parent8538cb992043eb680c1b7acaf133e4147e1db86a (diff)
parent137e1f968935a583a18c6a9c567ad043aff91360 (diff)
Merge branch '1.21' into master
Diffstat (limited to 'src/lib/corelib/language/scriptengine.h')
-rw-r--r--src/lib/corelib/language/scriptengine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/corelib/language/scriptengine.h b/src/lib/corelib/language/scriptengine.h
index 2c8aca241..68e346b68 100644
--- a/src/lib/corelib/language/scriptengine.h
+++ b/src/lib/corelib/language/scriptengine.h
@@ -47,6 +47,7 @@
#include <logging/logger.h>
#include <tools/codelocation.h>
#include <tools/filetime.h>
+#include <tools/porting.h>
#include <tools/set.h>
#include <QtCore/qdir.h>
@@ -313,11 +314,11 @@ private:
const PropertyMapConstPtr m_propertyMap;
friend bool operator==(const PropertyCacheKey &lhs, const PropertyCacheKey &rhs);
- friend uint qHash(const ScriptEngine::PropertyCacheKey &k, uint seed);
+ friend QHashValueType qHash(const ScriptEngine::PropertyCacheKey &k, QHashValueType seed);
};
friend bool operator==(const PropertyCacheKey &lhs, const PropertyCacheKey &rhs);
- friend uint qHash(const ScriptEngine::PropertyCacheKey &k, uint seed);
+ friend QHashValueType qHash(const ScriptEngine::PropertyCacheKey &k, QHashValueType seed);
static std::mutex m_creationDestructionMutex;
ScriptImporter *m_scriptImporter;