From ba0c797e6d6a494f0568099dda6f40d17a2e1d4a Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Tue, 1 Jun 2021 10:24:40 +0200 Subject: [PATCH] Compile fix Amends: 615b37193bf2577efa609df364865ff6b7fe43a9 Change-Id: Ic40e13320a964f20e50ddaf6a776592632361b3a Reviewed-by: Christian Stenger --- src/plugins/autotest/qtest/qttestparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/autotest/qtest/qttestparser.cpp b/src/plugins/autotest/qtest/qttestparser.cpp index ed9197b3a62..387b6e08797 100644 --- a/src/plugins/autotest/qtest/qttestparser.cpp +++ b/src/plugins/autotest/qtest/qttestparser.cpp @@ -292,12 +292,12 @@ bool QtTestParser::processDocument(QFutureInterface futureIn } const CppTools::CppModelManager *modelManager = CppTools::CppModelManager::instance(); - TestCases testCases(testCases(modelManager, fileName)); + TestCases testCaseList(testCases(modelManager, fileName)); bool reported = false; // we might be in a reparse without the original entry point with the QTest::qExec() - if (testCases.isEmpty() && !oldTestCases.empty()) - testCases.append(oldTestCases); - for (const TestCase &testCase : testCases) { + if (testCaseList.isEmpty() && !oldTestCases.empty()) + testCaseList.append(oldTestCases); + for (const TestCase &testCase : testCaseList) { if (!testCase.name.isEmpty()) { TestCaseData data; Utils::optional earlyReturn = fillTestCaseData(testCase.name, doc, data);