aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/gtest/gtesttreeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/autotest/gtest/gtesttreeitem.cpp')
-rw-r--r--src/plugins/autotest/gtest/gtesttreeitem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/autotest/gtest/gtesttreeitem.cpp b/src/plugins/autotest/gtest/gtesttreeitem.cpp
index 4e1f773702..95bdf35eb2 100644
--- a/src/plugins/autotest/gtest/gtesttreeitem.cpp
+++ b/src/plugins/autotest/gtest/gtesttreeitem.cpp
@@ -31,7 +31,6 @@
#include <cpptools/cppmodelmanager.h>
#include <projectexplorer/session.h>
#include <utils/algorithm.h>
-#include <utils/asconst.h>
#include <utils/qtcassert.h>
namespace Autotest {
@@ -179,7 +178,7 @@ QList<TestConfiguration *> GTestTreeItem::getTestConfigurations(bool ignoreCheck
}
for (auto it = testCasesForProFile.begin(), end = testCasesForProFile.end(); it != end; ++it) {
- for (const QString &target : Utils::asConst(it.value().internalTargets)) {
+ for (const QString &target : qAsConst(it.value().internalTargets)) {
GTestConfiguration *tc = new GTestConfiguration;
if (!ignoreCheckState)
tc->setTestCases(it.value().filters);