diff options
| author | 2016-04-30 18:34:55 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | a37bd1dfeb81c8cd44453e186a43c1b29883ab49 (patch) | |
| tree | 29338a8f291b8fb05d924938f4bbc8df8be5a09f /src/modules/upnp | |
| parent | Apply clang-tidy: modernize-use-override (diff) | |
| download | KVIrc-a37bd1dfeb81c8cd44453e186a43c1b29883ab49.tar.gz KVIrc-a37bd1dfeb81c8cd44453e186a43c1b29883ab49.tar.bz2 KVIrc-a37bd1dfeb81c8cd44453e186a43c1b29883ab49.zip | |
Apply clang-tidy: modernize-use-default
Diffstat (limited to 'src/modules/upnp')
| -rw-r--r-- | src/modules/upnp/RootService.cpp | 3 | ||||
| -rw-r--r-- | src/modules/upnp/WanConnectionService.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/upnp/RootService.cpp b/src/modules/upnp/RootService.cpp index 81cd7b23a..901599bc5 100644 --- a/src/modules/upnp/RootService.cpp +++ b/src/modules/upnp/RootService.cpp @@ -145,8 +145,7 @@ namespace UPnP // The destructor RootService::~RootService() - { - } + = default; // Recursively add all devices and embedded devices to the deviceServices_ map void RootService::addDeviceServices(const QDomNode & device) diff --git a/src/modules/upnp/WanConnectionService.cpp b/src/modules/upnp/WanConnectionService.cpp index 8fa5f1753..efbe87b73 100644 --- a/src/modules/upnp/WanConnectionService.cpp +++ b/src/modules/upnp/WanConnectionService.cpp @@ -45,8 +45,7 @@ namespace UPnP // The destructor WanConnectionService::~WanConnectionService() - { - } + = default; // Add a port mapping void WanConnectionService::addPortMapping(const QString & protocol, const QString & remoteHost, int externalPort, |
