diff options
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r-- | tests/auto/corelib/tools/collections/tst_collections.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/tools/collections/tst_collections.cpp b/tests/auto/corelib/tools/collections/tst_collections.cpp index f10ecca335..85c6f7e6e1 100644 --- a/tests/auto/corelib/tools/collections/tst_collections.cpp +++ b/tests/auto/corelib/tools/collections/tst_collections.cpp @@ -2361,7 +2361,7 @@ template <class Container> void testLinkedListLikeStlIterators() { Container fake; - typename Container::value_type t; + typename Container::value_type t = {}; fake << t; typename Container::iterator i1 = fake.begin(), i2 = i1 + 1; @@ -2394,7 +2394,7 @@ void testListLikeStlIterators() testLinkedListLikeStlIterators<Container>(); Container fake; - typename Container::value_type t; + typename Container::value_type t = {}; fake << t; typename Container::iterator i1 = fake.begin(), i2 = i1 + 1; |