summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/webchannel/tst_webchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/webchannel/tst_webchannel.cpp b/tests/auto/webchannel/tst_webchannel.cpp
index 0f050a7..24d473f 100644
--- a/tests/auto/webchannel/tst_webchannel.cpp
+++ b/tests/auto/webchannel/tst_webchannel.cpp
@@ -877,7 +877,7 @@ void TestWebChannel::benchRemoveTransport()
}
QBENCHMARK_ONCE {
- foreach (DummyTransport *transport, dummyTransports)
+ for (auto transport : dummyTransports)
pub->transportRemoved(transport);
}