From 505d0768f8392e3c4775425dd97f41e1c829ef44 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 30 Apr 2016 18:23:42 +0100 Subject: Apply clang-tidy: modernize-use-nullptr --- src/modules/upnp/Service.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/upnp/Service.cpp') 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::const_iterator it; -- cgit v1.3.1-10-gc9f91