From 951fa5cfd11f702340a98a7fbef7d806e454f866 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 19:25:18 +0100 Subject: Cleanup: Use "default" for default constructors and destructors --- src/server/BlockFactory.cpp | 4 ---- src/server/BlockFactory.hpp | 3 ++- src/server/events/Delta.cpp | 4 ---- src/server/events/Delta.hpp | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) (limited to 'src/server') 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, -- cgit v1.2.1