*: use nullptr instead of NULL

This commit is contained in:
Max Kellermann
2020-02-01 13:49:19 +01:00
parent 4c52001a35
commit 4f22f4d357
17 changed files with 32 additions and 32 deletions

View File

@@ -61,7 +61,7 @@ ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
IXML_Document *_response;
auto code = UpnpSendAction(hdl, m_actionURL.c_str(),
m_serviceType.c_str(),
0 /*devUDN*/, request.get(), &_response);
nullptr /*devUDN*/, request.get(), &_response);
if (code != UPNP_E_SUCCESS)
throw FormatRuntimeError("UpnpSendAction() failed: %s",
UpnpGetErrorMessage(code));