projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9598e3d
)
Clearing a hash makes its length 0.
author
Martin Jones
<martin.jones@nokia.com>
Mon, 18 Jul 2011 04:28:10 +0000 (14:28 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000 (13:18 +0200)
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>
src/declarative/qml/ftw/qhashedstring_p.h
patch
|
blob
|
history
diff --git
a/src/declarative/qml/ftw/qhashedstring_p.h
b/src/declarative/qml/ftw/qhashedstring_p.h
index
041ad02
..
1633855
100644
(file)
--- 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;
}