Skip to content

Commit 0d66676

Browse files
committed
Port the last qAsConst
1 parent 7e03da3 commit 0d66676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/serverlib/test_serverlib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ private Q_SLOTS:
588588
}
589589
QCOMPARE(s_serverObjects.count(), numRequests);
590590
QSet<QThread *> usedThreads;
591-
for (CountryServerObject *obj : qAsConst(s_serverObjects)) {
591+
for (CountryServerObject *obj : std::as_const(s_serverObjects)) {
592592
QThread *thread = obj->thread();
593593
QVERIFY(thread != qApp->thread());
594594
QVERIFY(thread != &serverThread);

0 commit comments

Comments
 (0)