*: use defaulted destructors
This commit is contained in:
parent
faa04966af
commit
4c52001a35
|
@ -26,9 +26,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
|
||||
InputStream::~InputStream() noexcept
|
||||
{
|
||||
}
|
||||
InputStream::~InputStream() noexcept = default;
|
||||
|
||||
void
|
||||
InputStream::Check()
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
TextInputStream::TextInputStream(InputStreamPtr &&_is) noexcept
|
||||
:is(std::move(_is)) {}
|
||||
|
||||
TextInputStream::~TextInputStream() noexcept {}
|
||||
TextInputStream::~TextInputStream() noexcept = default;
|
||||
|
||||
char *
|
||||
TextInputStream::ReadLine()
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
NeighborGlue::NeighborGlue() noexcept {}
|
||||
NeighborGlue::~NeighborGlue() noexcept {}
|
||||
NeighborGlue::NeighborGlue() noexcept = default;
|
||||
NeighborGlue::~NeighborGlue() noexcept = default;
|
||||
|
||||
static std::unique_ptr<NeighborExplorer>
|
||||
CreateNeighborExplorer(EventLoop &loop, NeighborListener &listener,
|
||||
|
|
|
@ -29,7 +29,10 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
AudioOutputSource::AudioOutputSource() noexcept {}
|
||||
AudioOutputSource::AudioOutputSource() noexcept
|
||||
{
|
||||
}
|
||||
|
||||
AudioOutputSource::~AudioOutputSource() noexcept = default;
|
||||
|
||||
AudioFormat
|
||||
|
|
|
@ -179,13 +179,8 @@ CompositeStorage::Directory::MapToRelativeUTF8(std::string &buffer,
|
|||
return false;
|
||||
}
|
||||
|
||||
CompositeStorage::CompositeStorage() noexcept
|
||||
{
|
||||
}
|
||||
|
||||
CompositeStorage::~CompositeStorage()
|
||||
{
|
||||
}
|
||||
CompositeStorage::CompositeStorage() noexcept = default;
|
||||
CompositeStorage::~CompositeStorage() = default;
|
||||
|
||||
Storage *
|
||||
CompositeStorage::GetMount(const char *uri) noexcept
|
||||
|
|
|
@ -49,8 +49,7 @@ public:
|
|||
io_thread.Start();
|
||||
}
|
||||
|
||||
~GlobalInit() {
|
||||
}
|
||||
~GlobalInit() = default;
|
||||
|
||||
EventLoop &GetEventLoop() {
|
||||
return io_thread.GetEventLoop();
|
||||
|
|
Loading…
Reference in New Issue