diff options
author | Liang Qi <liang.qi@qt.io> | 2016-09-21 08:35:11 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-09-21 08:35:11 +0200 |
commit | 0aaf8a5f8541960466d695729104d71c23998df9 (patch) | |
tree | d8d37fb42f923eaad78a85157d2f655e8a2c2d2e /tests/auto/patternistexamples/tst_patternistexamples.cpp | |
parent | a7c672c05a29ee6894197c77063a307ea022a97b (diff) | |
parent | 21cc71ced3565585f7a2f94875ed845355ab2064 (diff) | |
download | qtxmlpatterns-0aaf8a5f8541960466d695729104d71c23998df9.tar.gz |
Merge remote-tracking branch 'origin/5.8' into dev
Change-Id: Ie4eaf067382d8ca5e139a994e045e83f3f90760c
Diffstat (limited to 'tests/auto/patternistexamples/tst_patternistexamples.cpp')
-rw-r--r-- | tests/auto/patternistexamples/tst_patternistexamples.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/patternistexamples/tst_patternistexamples.cpp b/tests/auto/patternistexamples/tst_patternistexamples.cpp index 3aed232..6abeb04 100644 --- a/tests/auto/patternistexamples/tst_patternistexamples.cpp +++ b/tests/auto/patternistexamples/tst_patternistexamples.cpp @@ -142,7 +142,7 @@ void tst_PatternistExamples::checkQueries_data() const QCOMPARE(queryExamples.count(), int(XQueryFileCount)); - foreach(QString q, queryExamples) + for (const QString &q : queryExamples) QTest::newRow(q.toLocal8Bit().constData()) << q; } @@ -183,7 +183,7 @@ void tst_PatternistExamples::checkXMLFiles_data() const QCOMPARE(xmlFiles.count(), int(XMLFileCount)); - foreach(QString q, xmlFiles) + for (const QString &q : xmlFiles) QTest::newRow(q.toLocal8Bit().constData()) << q; } |