[clang-tidy] use = default
Found with modernize-use-equals-default Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
dea0cc165d
commit
6d3190fe5f
@ -30,10 +30,8 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
UPnPDirContent::~UPnPDirContent()
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDirContent::~UPnPDirContent() = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
static UPnPDirObject::ItemClass
|
static UPnPDirObject::ItemClass
|
||||||
|
@ -19,7 +19,5 @@
|
|||||||
|
|
||||||
#include "Object.hxx"
|
#include "Object.hxx"
|
||||||
|
|
||||||
UPnPDirObject::~UPnPDirObject() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDirObject::~UPnPDirObject() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
@ -44,10 +44,8 @@ ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ContentDirectoryService::~ContentDirectoryService() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
ContentDirectoryService::~ContentDirectoryService() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
std::forward_list<std::string>
|
std::forward_list<std::string>
|
||||||
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
|
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
|
||||||
|
@ -23,10 +23,8 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
UPnPDevice::~UPnPDevice() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDevice::~UPnPDevice() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An XML parser which constructs an UPnP device object from the
|
* An XML parser which constructs an UPnP device object from the
|
||||||
|
@ -90,10 +90,8 @@ SongFilter::SongFilter(TagType tag, const char *value, bool fold_case)
|
|||||||
StringFilter(value, fold_case, fold_case, false)));
|
StringFilter(value, fold_case, fold_case, false)));
|
||||||
}
|
}
|
||||||
|
|
||||||
SongFilter::~SongFilter()
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
SongFilter::~SongFilter() = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
SongFilter::ToExpression() const noexcept
|
SongFilter::ToExpression() const noexcept
|
||||||
|
Loading…
Reference in New Issue
Block a user