From 0fd993ac57dd35a286fb83c97196d3d27d1d3622 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Mon, 4 Jul 2011 11:41:43 +1000 Subject: [PATCH] Compile Change-Id: I3bc97df3cb768bcfba6581a291c6a8136cec8a92 Reviewed-on: http://codereview.qt.nokia.com/1024 Reviewed-by: Qt Sanity Bot Reviewed-by: Aaron Kennedy --- src/declarative/qml/v8/qhashedstring_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.7.4