diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-07-23 13:16:38 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-07-24 12:23:49 +0000 |
commit | 45969a0dbb69005f32eb9f99a9669eaee4aa256c (patch) | |
tree | 1041782df71be0441007d007e9a3a51bfc94a73c /tests/auto/snippets/tst_snippets.cpp | |
parent | 048a5363294273d60b3634f96295c28828e5383e (diff) |
Use constBegin/End with const_iterator
Change-Id: I9c4801ac91c52d487e98a99ff4d38e133f0679a3
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'tests/auto/snippets/tst_snippets.cpp')
-rw-r--r-- | tests/auto/snippets/tst_snippets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/snippets/tst_snippets.cpp b/tests/auto/snippets/tst_snippets.cpp index b07e10b0..39375e12 100644 --- a/tests/auto/snippets/tst_snippets.cpp +++ b/tests/auto/snippets/tst_snippets.cpp @@ -97,7 +97,7 @@ void tst_Snippets::screenshots_data() QTest::addColumn<QString>("output"); QMap<QString, QStringPair>::const_iterator it; - for (it = filePaths.begin(); it != filePaths.end(); ++it) + for (it = filePaths.constBegin(); it != filePaths.constEnd(); ++it) QTest::newRow(qPrintable(it.key())) << it.value().first << it.value().second; } |