From 4f5747e3484e887b1e99abe1d936cdf09ef5d088 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Thu, 17 Jul 2014 16:53:42 +0200 Subject: [PATCH] Compile fix for Qt 4.8.6 Task-number: QTCREATORBUG-12695 Done-by: Fawzi Mohamed Change-Id: Id184bb051c08ee954474cca89308712e14710f23 Reviewed-by: Fawzi Mohamed --- src/libs/qmljs/qmljsinterpreter.cpp | 4 ++-- src/libs/qmljs/qmljsinterpreter.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp index 0898bb77acf..fbf5725a02b 100644 --- a/src/libs/qmljs/qmljsinterpreter.cpp +++ b/src/libs/qmljs/qmljsinterpreter.cpp @@ -181,9 +181,9 @@ bool FakeMetaObjectWithOrigin::operator ==(const FakeMetaObjectWithOrigin &o) co return fakeMetaObject == o.fakeMetaObject; } -uint qHash(const FakeMetaObjectWithOrigin &fmoo, int seed) +uint qHash(const FakeMetaObjectWithOrigin &fmoo) { - return qHash(fmoo.fakeMetaObject, seed); + return qHash(fmoo.fakeMetaObject); } } // namespace QmlJS diff --git a/src/libs/qmljs/qmljsinterpreter.h b/src/libs/qmljs/qmljsinterpreter.h index 64e89fee151..230d9f03f0b 100644 --- a/src/libs/qmljs/qmljsinterpreter.h +++ b/src/libs/qmljs/qmljsinterpreter.h @@ -687,7 +687,7 @@ public: bool operator ==(const FakeMetaObjectWithOrigin &o) const; }; -QMLJS_EXPORT uint qHash(const FakeMetaObjectWithOrigin &fmoo, int seed = 0); +QMLJS_EXPORT uint qHash(const FakeMetaObjectWithOrigin &fmoo); class QMLJS_EXPORT CppQmlTypes {