diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 19:25:18 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | 951fa5cfd11f702340a98a7fbef7d806e454f866 (patch) | |
tree | bbc83efa02e1185fb48c1848ae58e9a933430bce /src/server | |
parent | 3283bca45475a597686378f232b65d052422c6b8 (diff) | |
download | ingen-951fa5cfd11f702340a98a7fbef7d806e454f866.tar.gz ingen-951fa5cfd11f702340a98a7fbef7d806e454f866.tar.bz2 ingen-951fa5cfd11f702340a98a7fbef7d806e454f866.zip |
Cleanup: Use "default" for default constructors and destructors
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/BlockFactory.cpp | 4 | ||||
-rw-r--r-- | src/server/BlockFactory.hpp | 3 | ||||
-rw-r--r-- | src/server/events/Delta.cpp | 4 | ||||
-rw-r--r-- | src/server/events/Delta.hpp | 2 |
4 files changed, 3 insertions, 10 deletions
diff --git a/src/server/BlockFactory.cpp b/src/server/BlockFactory.cpp index 6fc5b9ee..9e1693df 100644 --- a/src/server/BlockFactory.cpp +++ b/src/server/BlockFactory.cpp @@ -50,10 +50,6 @@ BlockFactory::BlockFactory(ingen::World& world) load_internal_plugins(); } -BlockFactory::~BlockFactory() -{ -} - const BlockFactory::Plugins& BlockFactory::plugins() { diff --git a/src/server/BlockFactory.hpp b/src/server/BlockFactory.hpp index 8eafaea5..234a20fa 100644 --- a/src/server/BlockFactory.hpp +++ b/src/server/BlockFactory.hpp @@ -40,7 +40,8 @@ class BlockFactory : public Raul::Noncopyable { public: explicit BlockFactory(ingen::World& world); - ~BlockFactory(); + + ~BlockFactory() = default; /** Reload plugin list. * diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 6ecddc1e..4e4887c5 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -105,10 +105,6 @@ Delta::Delta(Engine& engine, init(); } -Delta::~Delta() -{ -} - void Delta::init() { diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 2aa2ff90..1dce2663 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -62,7 +62,7 @@ public: SampleCount timestamp, const ingen::SetProperty& msg); - ~Delta(); + ~Delta() = default; void add_set_event(const char* port_symbol, const void* value, |