From b7aab36bc1c4bb01f5b26ba63b3daa4caadaaac1 Mon Sep 17 00:00:00 2001 From: ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ Date: Wed, 25 Sep 2019 09:30:43 +0800 Subject: Change NULL to nullptr --- client.cxx | 4 ++-- qicclient/client.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client.cxx b/client.cxx index 6cf6114..f9cf9b2 100644 --- a/client.cxx +++ b/client.cxx @@ -16,8 +16,8 @@ namespace ICClient { void Client::logIn(QString const& username, QString const& password) { icclient_login(username.toLatin1().constData() - , password.toLatin1().constData(), NULL, NULL - , NULL); + , password.toLatin1().constData(), nullptr, nullptr + , nullptr); emit loggedIn(username); } diff --git a/qicclient/client.hxx b/qicclient/client.hxx index aac8fb6..14c3652 100644 --- a/qicclient/client.hxx +++ b/qicclient/client.hxx @@ -10,7 +10,7 @@ namespace ICClient { Q_OBJECT public: - Client(char const* url, char const* certificate = NULL); + Client(char const* url, char const* certificate = nullptr); ~Client(); public slots: -- cgit v1.3