aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/upnp/SsdpConnection.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-05-01 16:16:09 +0100
committerGravatar Alexey Sokolov2016-05-01 16:16:09 +0100
commitfe375f69972cd912739c0d68fa4951d35de90e5e (patch)
tree71bd2c2b59d6be62d7c18588a417e5aa39ab233c /src/modules/upnp/SsdpConnection.cpp
parentlibkvidcc: fix $dcc.currentSpeed documentation add missing @short and fix rig... (diff)
parentApply clang-tidy: modernize-loop-convert (diff)
downloadKVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.tar.gz
KVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.tar.bz2
KVIrc-fe375f69972cd912739c0d68fa4951d35de90e5e.zip
Merge pull request #1962 from DarthGandalf/modernize
Apply several fixes of clang-tidy
Diffstat (limited to 'src/modules/upnp/SsdpConnection.cpp')
-rw-r--r--src/modules/upnp/SsdpConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/upnp/SsdpConnection.cpp b/src/modules/upnp/SsdpConnection.cpp
index 11a316ce6..adfa21ace 100644
--- a/src/modules/upnp/SsdpConnection.cpp
+++ b/src/modules/upnp/SsdpConnection.cpp
@@ -52,7 +52,7 @@ namespace UPnP
SsdpConnection::~SsdpConnection()
{
- if(m_pSocket != 0)
+ if(m_pSocket != nullptr)
{
m_pSocket->close();
delete m_pSocket;