diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-07-18 14:28:10 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-30 13:18:28 +0200 |
commit | 62a97799a4d3220699956d81a3328954e14cf6a1 (patch) | |
tree | d712010d13d142f2f7e8b7cbafe0bc2dd3815787 /src/declarative/qml/ftw | |
parent | 9598e3da45b18832b7f320e82cec6ded062339c0 (diff) |
Clearing a hash makes its length 0.
Change-Id: Ie5b1251212b504d7a7621abdd7fe4e9305790846
Reviewed-on: http://codereview.qt.nokia.com/3752
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/declarative/qml/ftw')
-rw-r--r-- | src/declarative/qml/ftw/qhashedstring_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/ftw/qhashedstring_p.h b/src/declarative/qml/ftw/qhashedstring_p.h index 041ad02b39..1633855615 100644 --- a/src/declarative/qml/ftw/qhashedstring_p.h +++ b/src/declarative/qml/ftw/qhashedstring_p.h @@ -409,6 +409,7 @@ void QStringHash<T,SmallThreshold>::clear() data.buckets = 0; data.numBuckets = 0; data.numBits = 0; + data.size = 0; nodePool = 0; } |