summaryrefslogtreecommitdiffstats
path: root/tests/auto/collections
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-11-03 10:48:37 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-11-03 10:50:48 (GMT)
commit67a02b1c2e73e76604aa24836a768673992e48d3 (patch)
tree57c4b1f56e17e4751a2c8dea879bd96e0b7946ac /tests/auto/collections
parent31bbb7e526e5d93128d814206358b829b6a071d9 (diff)
downloadQt-67a02b1c2e73e76604aa24836a768673992e48d3.zip
Qt-67a02b1c2e73e76604aa24836a768673992e48d3.tar.gz
Qt-67a02b1c2e73e76604aa24836a768673992e48d3.tar.bz2
Fix tst_collections::insert_remove_loop on 32bit
It was working on 64bit by luck
Diffstat (limited to 'tests/auto/collections')
-rw-r--r--tests/auto/collections/tst_collections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/collections/tst_collections.cpp b/tests/auto/collections/tst_collections.cpp
index 263c478..7c70505 100644
--- a/tests/auto/collections/tst_collections.cpp
+++ b/tests/auto/collections/tst_collections.cpp
@@ -3878,7 +3878,7 @@ struct ExtList : QList<T> {
}
void insert(typename QList<T>::iterator before, int n, const T&x) {
while (n--) {
- this->insert(before, x );
+ before = this->insert(before, x);
}
}