fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+5
-4
@@ -11,6 +11,7 @@
|
||||
*/
|
||||
|
||||
#include "flm_tests.h"
|
||||
#include <utility>
|
||||
|
||||
#include <nglapplication/nglcoreapplication.h>
|
||||
#include <LtsCommandLineParser/LtsCommandLineParser.h>
|
||||
@@ -690,7 +691,7 @@ void FlmTests::tryGetAllTemplates()
|
||||
}
|
||||
|
||||
DEBUG_LOG(m_logger) << "Found " << allTemplates.size() << " templates";
|
||||
for (const FileContent &fc : qAsConst(allTemplates))
|
||||
for (const FileContent &fc : std::as_const(allTemplates))
|
||||
DEBUG_LOG(m_logger) << "Found template (id, name) = (" << fc.id << ", " << fc.name << ")";
|
||||
|
||||
QTest::qWait(1000);
|
||||
@@ -710,7 +711,7 @@ void FlmTests::tryGetAllPlans()
|
||||
}
|
||||
|
||||
DEBUG_LOG(m_logger) << "Found " << allPlans.size() << " plans";
|
||||
for (const QString &plan : qAsConst(allPlans))
|
||||
for (const QString &plan : std::as_const(allPlans))
|
||||
DEBUG_LOG(m_logger) << "Found plan = " << plan;
|
||||
|
||||
QTest::qWait(1000);
|
||||
@@ -730,7 +731,7 @@ void FlmTests::tryGetAllFavs()
|
||||
}
|
||||
|
||||
DEBUG_LOG(m_logger) << "Found " << allFavs.size() << " favs";
|
||||
for (const QString &fav : qAsConst(allFavs))
|
||||
for (const QString &fav : std::as_const(allFavs))
|
||||
DEBUG_LOG(m_logger) << "Found fav = " << fav;
|
||||
|
||||
QTest::qWait(1000);
|
||||
@@ -750,7 +751,7 @@ void FlmTests::tryGetAllSymbols()
|
||||
}
|
||||
|
||||
DEBUG_LOG(m_logger) << "Found " << allSymbols.size() << " symbols";
|
||||
for (const QString &symbol : qAsConst(allSymbols))
|
||||
for (const QString &symbol : std::as_const(allSymbols))
|
||||
DEBUG_LOG(m_logger) << "Found symbol = " << symbol;
|
||||
|
||||
QTest::qWait(1000);
|
||||
|
||||
Reference in new issue
Block a user