diff options
| author | 2016-04-30 18:23:42 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 505d0768f8392e3c4775425dd97f41e1c829ef44 (patch) | |
| tree | 55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/upnp/Service.cpp | |
| parent | Update my clang-format to 3.8.0 (diff) | |
| download | KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2 KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip | |
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/upnp/Service.cpp')
| -rw-r--r-- | src/modules/upnp/Service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/upnp/Service.cpp b/src/modules/upnp/Service.cpp index 2b0d87d4e..872393874 100644 --- a/src/modules/upnp/Service.cpp +++ b/src/modules/upnp/Service.cpp @@ -73,7 +73,7 @@ namespace UPnP // TODO: rename to callMethod / callSoapMethod int Service::callAction(const QString & actionName, const QString & prefix) { - return callActionInternal(actionName, 0, prefix); + return callActionInternal(actionName, nullptr, prefix); } // Makes a UPnP action request @@ -112,7 +112,7 @@ namespace UPnP + prefix + ":" + actionName + " xmlns:" + prefix + "=\"" + m_szServiceType + "\">\n"; // Do we have any arguments? - if(arguments != 0) + if(arguments != nullptr) { // Add the arguments QMap<QString, QString>::const_iterator it; |
