From: Aaron Kennedy Date: Mon, 4 Jul 2011 01:41:43 +0000 (+1000) Subject: Compile X-Git-Tag: qt-v5.0.0-alpha1~2144^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fd993ac57dd35a286fb83c97196d3d27d1d3622;p=profile%2Fivi%2Fqtdeclarative.git Compile Change-Id: I3bc97df3cb768bcfba6581a291c6a8136cec8a92 Reviewed-on: http://codereview.qt.nokia.com/1024 Reviewed-by: Qt Sanity Bot Reviewed-by: Aaron Kennedy --- diff --git a/src/declarative/qml/v8/qhashedstring_p.h b/src/declarative/qml/v8/qhashedstring_p.h index b178af7..30aedeb 100644 --- a/src/declarative/qml/v8/qhashedstring_p.h +++ b/src/declarative/qml/v8/qhashedstring_p.h @@ -475,7 +475,7 @@ T &QStringHash::operator[](const QHashedString &key) { Node *n = findNode(key); if (n) return n->value; - else return createNode(key)->value; + else return createNode(key, T())->value; } template @@ -483,7 +483,7 @@ T &QStringHash::operator[](const QHashedStringRef &key) { Node *n = findNode(key); if (n) return n->value; - else return createNode(key)->value; + else return createNode(key, T())->value; } inline uint qHash(const QHashedString &string)