From b7aab36bc1c4bb01f5b26ba63b3daa4caadaaac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= 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.2.3