[clang-tidy] use = default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-02-02 16:52:46 -08:00
parent dea0cc165d
commit 6d3190fe5f
5 changed files with 10 additions and 20 deletions

View File

@@ -44,10 +44,8 @@ ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
}
}
ContentDirectoryService::~ContentDirectoryService() noexcept
{
/* this destructor exists here just so it won't get inlined */
}
/* this destructor exists here just so it won't get inlined */
ContentDirectoryService::~ContentDirectoryService() noexcept = default;
std::forward_list<std::string>
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const

View File

@@ -23,10 +23,8 @@
#include <string.h>
UPnPDevice::~UPnPDevice() noexcept
{
/* this destructor exists here just so it won't get inlined */
}
/* this destructor exists here just so it won't get inlined */
UPnPDevice::~UPnPDevice() noexcept = default;
/**
* An XML parser which constructs an UPnP device object from the