We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e03da3 commit 0d66676Copy full SHA for 0d66676
unittests/serverlib/test_serverlib.cpp
@@ -588,7 +588,7 @@ private Q_SLOTS:
588
}
589
QCOMPARE(s_serverObjects.count(), numRequests);
590
QSet<QThread *> usedThreads;
591
- for (CountryServerObject *obj : qAsConst(s_serverObjects)) {
+ for (CountryServerObject *obj : std::as_const(s_serverObjects)) {
592
QThread *thread = obj->thread();
593
QVERIFY(thread != qApp->thread());
594
QVERIFY(thread != &serverThread);
0 commit comments