diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-09-22 10:39:58 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-09-22 10:44:35 (GMT) |
commit | ffd6720bacb5f1a9146384debf0cb82377650c43 (patch) | |
tree | 0e5e90ca173ea01660033b1a6600123e4be22c30 /tests/auto/qlist | |
parent | 37b0988dcebb6a44a2e50194e78540bf4dd71bc0 (diff) | |
download | Qt-ffd6720bacb5f1a9146384debf0cb82377650c43.zip Qt-ffd6720bacb5f1a9146384debf0cb82377650c43.tar.gz Qt-ffd6720bacb5f1a9146384debf0cb82377650c43.tar.bz2 |
Fix C++0x initializer lists tests.
It was using the wrong macro
Reviewed-by: Thierry
Diffstat (limited to 'tests/auto/qlist')
-rw-r--r-- | tests/auto/qlist/tst_qlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qlist/tst_qlist.cpp b/tests/auto/qlist/tst_qlist.cpp index 9f6b4a5..14b8057 100644 --- a/tests/auto/qlist/tst_qlist.cpp +++ b/tests/auto/qlist/tst_qlist.cpp @@ -666,7 +666,7 @@ void tst_QList::testSTLIterators() const void tst_QList::initializeList() const { -#ifdef QT_CXX0X_INITIALIZERLIST +#ifdef Q_COMPILER_INITIALIZER_LISTS QList<int> v1{2,3,4}; QCOMPARE(v1, QList<int>() << 2 << 3 << 4); QCOMPARE(v1, (QList<int>{2,3,4})); |