From 6d3190fe5fa7501c5f09407ff9de1e622bb57ef2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 2 Feb 2020 16:52:46 -0800 Subject: [clang-tidy] use = default Found with modernize-use-equals-default Signed-off-by: Rosen Penev --- src/lib/upnp/ContentDirectoryService.cxx | 6 ++---- src/lib/upnp/Device.cxx | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/lib') diff --git a/src/lib/upnp/ContentDirectoryService.cxx b/src/lib/upnp/ContentDirectoryService.cxx index 539da0fa5..fa8eaace3 100644 --- a/src/lib/upnp/ContentDirectoryService.cxx +++ b/src/lib/upnp/ContentDirectoryService.cxx @@ -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 ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const diff --git a/src/lib/upnp/Device.cxx b/src/lib/upnp/Device.cxx index 37a39686d..d382ffdf8 100644 --- a/src/lib/upnp/Device.cxx +++ b/src/lib/upnp/Device.cxx @@ -23,10 +23,8 @@ #include -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 -- cgit v1.2.3