diff options
author | Erik Verbruggen <[email protected]> | 2012-11-08 10:10:40 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2012-11-08 17:15:34 +0100 |
commit | b3b1c3a573979cac69a3932d1edf3a046c1d8b8a (patch) | |
tree | 42b13b959111d9a22e0049ba430ecb37008c80bd /src/plugins/accessible/quick | |
parent | d617bbd31d2e2f1eb5609a82a71adad81ce3844f (diff) |
Fix compilation issue with clang in C++11 mode.
As with all other qHash functions, providing a default value for the
seed is needed.
Compiler error:
In file included from qml/v8/qv8engine.cpp:42:
In file included from qml/v8/qv8engine_p.h:57:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qvariant.h:1:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:50:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qhash.h:1:
/Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qhash.h:107:35: error: no matching function for call to 'qHash'
Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[skipping macro expansion and candidate qHash functions]
qml/v8/qv8engine_p.h:89:13: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline uint qHash(const v8::Handle<v8::Object> &object, uint seed)
Change-Id: I917785ce5ce596757fe06ced1536797090bb0f77
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Jędrzej Nowacki <[email protected]>
Diffstat (limited to 'src/plugins/accessible/quick')
0 files changed, 0 insertions, 0 deletions