Merge pull request #8761 from thalieht/nullptr

Replace the zeroing of pointers with nullptr
This commit is contained in:
Vladimir Golovnev
2018-05-08 17:10:37 +03:00
committed by GitHub
47 changed files with 98 additions and 98 deletions

View File

@@ -50,7 +50,7 @@ namespace Http
Q_DISABLE_COPY(Connection)
public:
Connection(QTcpSocket *socket, IRequestHandler *requestHandler, QObject *parent = 0);
Connection(QTcpSocket *socket, IRequestHandler *requestHandler, QObject *parent = nullptr);
~Connection();
bool hasExpired(qint64 timeout) const;