diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-08-07 10:19:44 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-08-08 18:18:08 +0200 |
commit | 3f35ebd9ae13f37172af34b72c330a4b3262d055 (patch) | |
tree | 836d9278bfa84817e6dc054e19e78f33460b91dd /src/qmldebug | |
parent | e50e9639fefee5622264b6d3c0910d81f5d72b00 (diff) |
Remove remaining foreach in src
Task-number: QTBUG-115808
Change-Id: I3416f701f8989507ed63e479a8fd21841cdfe43d
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qmldebug')
-rw-r--r-- | src/qmldebug/qv4debugclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldebug/qv4debugclient.cpp b/src/qmldebug/qv4debugclient.cpp index 83c6660a94..cb05a015a7 100644 --- a/src/qmldebug/qv4debugclient.cpp +++ b/src/qmldebug/qv4debugclient.cpp @@ -526,7 +526,7 @@ void QV4DebugClientPrivate::sendMessage(const QByteArray &command, const QJsonOb void QV4DebugClientPrivate::flushSendBuffer() { - foreach (const QByteArray &msg, sendBuffer) + for (const QByteArray &msg : std::as_const(sendBuffer)) sendMessage(msg); sendBuffer.clear(); } |