diff options
Diffstat (limited to 'tests/manual/websockets/tst_websockets.cpp')
-rw-r--r-- | tests/manual/websockets/tst_websockets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/websockets/tst_websockets.cpp b/tests/manual/websockets/tst_websockets.cpp index c2fbc6b..b9a7f5e 100644 --- a/tests/manual/websockets/tst_websockets.cpp +++ b/tests/manual/websockets/tst_websockets.cpp @@ -169,7 +169,7 @@ void tst_WebSocketsTest::testPeerAddress() QVERIFY(addresses.length() > 0); QHostAddress peer = m_pWebSocket->peerAddress(); bool found = false; - Q_FOREACH(QHostAddress a, addresses) + Q_FOREACH (const QHostAddress &a, addresses) { if (a == peer) { |