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/qxmlquery/tst_qxmlquery.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/qxmlquery/tst_qxmlquery.cpp')
-rw-r--r-- | tests/auto/qxmlquery/tst_qxmlquery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qxmlquery/tst_qxmlquery.cpp b/tests/auto/qxmlquery/tst_qxmlquery.cpp index 1754d7d..a7f3e8b 100644 --- a/tests/auto/qxmlquery/tst_qxmlquery.cpp +++ b/tests/auto/qxmlquery/tst_qxmlquery.cpp @@ -977,8 +977,8 @@ void tst_QXmlQuery::evaluateToReceiver_data() const { QTest::addColumn<QString>("inputQuery"); - foreach (QString const& query, queries()) - { + const auto queries_ = queries(); + for (QString const& query : queries_) { /* This outputs a URI specific to the environment, so we can't use it for this * particular test. */ if (query != QLatin1String("staticBaseURI.xq")) |