From 67a02b1c2e73e76604aa24836a768673992e48d3 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 3 Nov 2010 11:48:37 +0100 Subject: Fix tst_collections::insert_remove_loop on 32bit It was working on 64bit by luck --- tests/auto/collections/tst_collections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } void insert(typename QList::iterator before, int n, const T&x) { while (n--) { - this->insert(before, x ); + before = this->insert(before, x); } } -- cgit v0.12