summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp')
-rw-r--r--tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
index 365de831ab..08e9dd581d 100644
--- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
@@ -939,10 +939,10 @@ class SocketPair: public QObject
public:
QIODevice *endPoints[2];
- SocketPair(QObject *parent = 0)
+ SocketPair(QObject *parent = nullptr)
: QObject(parent)
{
- endPoints[0] = endPoints[1] = 0;
+ endPoints[0] = endPoints[1] = nullptr;
}
bool create()
@@ -976,7 +976,7 @@ class BlockingTcpServer : public QTcpServer
{
Q_OBJECT
public:
- BlockingTcpServer(bool ssl) : doSsl(ssl), sslSocket(0) {}
+ BlockingTcpServer(bool ssl) : doSsl(ssl), sslSocket(nullptr) {}
QTcpSocket* waitForNextConnectionSocket()
{