From 75042d31d1d267d0a4091932c95579747a102e9d Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Sun, 24 Sep 2017 23:55:05 +0200 Subject: Replace Q_NULLPTR with nullptr Change-Id: I0988a4119b5bd790d286c16b5647d97d4d95aef0 Reviewed-by: Lars Knoll --- tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp | 2 +- tests/manual/compliance/tst_compliance.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp index dfa0ce5..e9062c0 100644 --- a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp @@ -39,7 +39,7 @@ class EchoServer : public QObject { Q_OBJECT public: - explicit EchoServer(QObject *parent = Q_NULLPTR); + explicit EchoServer(QObject *parent = nullptr); ~EchoServer(); QHostAddress hostAddress() const { return m_pWebSocketServer->serverAddress(); } diff --git a/tests/manual/compliance/tst_compliance.cpp b/tests/manual/compliance/tst_compliance.cpp index 64bb335..478ca33 100644 --- a/tests/manual/compliance/tst_compliance.cpp +++ b/tests/manual/compliance/tst_compliance.cpp @@ -109,7 +109,7 @@ void tst_ComplianceTest::runTestCase(int nbr, int total) spy.wait(60000); pWebSocket->close(); delete pWebSocket; - pWebSocket = Q_NULLPTR; + pWebSocket = nullptr; runTestCase(nbr + 1, total); } -- cgit v1.2.1