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