summaryrefslogtreecommitdiff
path: root/src/network/ssl/qsslsocket.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2018-08-07 10:29:46 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-08-09 05:34:51 +0000
commit89d4c600a512d9aea35bb4d763e43fe81b138824 (patch)
tree8d2d0fc816b940ea6a17c42c3153aff7464fddd7 /src/network/ssl/qsslsocket.cpp
parentc1117ac496df9f7e47fdc82306bb4e20848a04d4 (diff)
downloadqtbase-89d4c600a512d9aea35bb4d763e43fe81b138824.tar.gz
Ssl: clang-tidy modernize-use-nullptr
And reflow the text where it exceeds the 100 column limit. Change-Id: I0d270c6a74a4c6ecba30e4e4d38a5d8f2cf81040 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket.cpp')
-rw-r--r--src/network/ssl/qsslsocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp
index 2cfe347867..5722f38f45 100644
--- a/src/network/ssl/qsslsocket.cpp
+++ b/src/network/ssl/qsslsocket.cpp
@@ -379,7 +379,7 @@ QSslSocket::~QSslSocket()
qCDebug(lcSsl) << "QSslSocket::~QSslSocket(), this =" << (void *)this;
#endif
delete d->plainSocket;
- d->plainSocket = 0;
+ d->plainSocket = nullptr;
}
/*!
@@ -2077,9 +2077,9 @@ QSslSocketPrivate::QSslSocketPrivate()
, connectionEncrypted(false)
, shutdown(false)
, ignoreAllSslErrors(false)
- , readyReadEmittedPointer(0)
+ , readyReadEmittedPointer(nullptr)
, allowRootCertOnDemandLoading(true)
- , plainSocket(0)
+ , plainSocket(nullptr)
, paused(false)
, flushTriggered(false)
{