summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/network-chat/client.cpp')
-rw-r--r--examples/network/network-chat/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/client.cpp b/examples/network/network-chat/client.cpp
index c9b165f724..bbce358ce2 100644
--- a/examples/network/network-chat/client.cpp
+++ b/examples/network/network-chat/client.cpp
@@ -24,7 +24,7 @@ void Client::sendMessage(const QString &message)
if (message.isEmpty())
return;
- for (Connection *connection : qAsConst(peers))
+ for (Connection *connection : std::as_const(peers))
connection->sendMessage(message);
}