summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ingen/AtomReader.hpp1
-rw-r--r--ingen/AtomSink.hpp2
-rw-r--r--ingen/AtomWriter.hpp2
-rw-r--r--ingen/EngineBase.hpp2
-rw-r--r--ingen/LV2Features.hpp2
-rw-r--r--ingen/Module.hpp2
-rw-r--r--ingen/Parser.hpp4
-rw-r--r--ingen/Properties.hpp7
-rw-r--r--ingen/Resource.hpp2
-rw-r--r--ingen/URIMap.hpp1
-rw-r--r--ingen/client/ObjectModel.hpp2
-rw-r--r--src/AtomWriter.cpp4
-rw-r--r--src/client/ObjectModel.cpp4
-rw-r--r--src/gui/Style.cpp4
-rw-r--r--src/gui/Style.hpp1
-rw-r--r--src/server/Driver.hpp2
-rw-r--r--src/server/Event.hpp2
-rw-r--r--src/server/NodeImpl.hpp2
-rw-r--r--src/server/PluginImpl.hpp2
-rw-r--r--src/server/PortImpl.cpp4
-rw-r--r--src/server/PortImpl.hpp2
-rw-r--r--src/server/events/CreateBlock.cpp4
-rw-r--r--src/server/events/CreateBlock.hpp2
-rw-r--r--src/server/events/Mark.cpp4
-rw-r--r--src/server/events/Mark.hpp2
-rw-r--r--src/server/events/Move.cpp4
-rw-r--r--src/server/events/Move.hpp2
-rw-r--r--src/server/events/SetPortValue.cpp4
-rw-r--r--src/server/events/SetPortValue.hpp2
-rw-r--r--src/server/internals/Note.cpp4
-rw-r--r--src/server/internals/Note.hpp2
31 files changed, 9 insertions, 75 deletions
diff --git a/ingen/AtomReader.hpp b/ingen/AtomReader.hpp
index 9b2406e9..bca56022 100644
--- a/ingen/AtomReader.hpp
+++ b/ingen/AtomReader.hpp
@@ -50,7 +50,6 @@ public:
URIs& uris,
Log& log,
Interface& iface);
- ~AtomReader() override {}
static bool is_message(const URIs& uris, const LV2_Atom* msg);
diff --git a/ingen/AtomSink.hpp b/ingen/AtomSink.hpp
index 73ea2423..0cfa027a 100644
--- a/ingen/AtomSink.hpp
+++ b/ingen/AtomSink.hpp
@@ -29,7 +29,7 @@ namespace Ingen {
*/
class INGEN_API AtomSink {
public:
- virtual ~AtomSink() {}
+ virtual ~AtomSink() = default;
/** Write an Atom to the sink.
*
diff --git a/ingen/AtomWriter.hpp b/ingen/AtomWriter.hpp
index 72124b36..5d465706 100644
--- a/ingen/AtomWriter.hpp
+++ b/ingen/AtomWriter.hpp
@@ -43,8 +43,6 @@ class INGEN_API AtomWriter : public Interface
public:
AtomWriter(URIMap& map, URIs& uris, AtomSink& sink);
- ~AtomWriter() override;
-
Raul::URI uri() const override {
return Raul::URI("ingen:/clients/atom_writer");
}
diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp
index c8154c4c..00436c66 100644
--- a/ingen/EngineBase.hpp
+++ b/ingen/EngineBase.hpp
@@ -36,7 +36,7 @@ class Interface;
class INGEN_API EngineBase
{
public:
- virtual ~EngineBase() {}
+ virtual ~EngineBase() = default;
/**
Initialise the engine for local use (e.g. without a Jack driver).
diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp
index f718b22f..91e57dc6 100644
--- a/ingen/LV2Features.hpp
+++ b/ingen/LV2Features.hpp
@@ -40,7 +40,7 @@ public:
class Feature {
public:
- virtual ~Feature() {}
+ virtual ~Feature() = default;
virtual const char* uri() const = 0;
diff --git a/ingen/Module.hpp b/ingen/Module.hpp
index c21bf25e..e1884074 100644
--- a/ingen/Module.hpp
+++ b/ingen/Module.hpp
@@ -33,7 +33,7 @@ class World;
class INGEN_API Module {
public:
Module() : library(nullptr) {}
- virtual ~Module() {}
+ virtual ~Module() = default;
virtual void load(Ingen::World* world) = 0;
virtual void run(Ingen::World* world) {}
diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp
index e87f34e7..19db3f8b 100644
--- a/ingen/Parser.hpp
+++ b/ingen/Parser.hpp
@@ -42,9 +42,9 @@ class World;
*/
class INGEN_API Parser {
public:
- explicit Parser() {}
+ explicit Parser() = default;
- virtual ~Parser() {}
+ virtual ~Parser() = default;
/** Record of a resource listed in a bundle manifest. */
struct ResourceRecord {
diff --git a/ingen/Properties.hpp b/ingen/Properties.hpp
index ef914e68..39d6cf81 100644
--- a/ingen/Properties.hpp
+++ b/ingen/Properties.hpp
@@ -57,11 +57,8 @@ class Properties : public std::multimap<Raul::URI, Property> {
public:
using Graph = Property::Graph;
- Properties() {}
-
- Properties(const Properties& copy)
- : std::multimap<Raul::URI, Property>(copy)
- {}
+ Properties() = default;
+ Properties(const Properties& copy) = default;
Properties(std::initializer_list<value_type> l)
: std::multimap<Raul::URI, Property>(l)
diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp
index d19d5c9a..aa047e51 100644
--- a/ingen/Resource.hpp
+++ b/ingen/Resource.hpp
@@ -73,8 +73,6 @@ public:
return Graph::DEFAULT;
}
- ~Resource() override {}
-
/** Get a single property value.
*
* This is only useful for properties with a single value. If the
diff --git a/ingen/URIMap.hpp b/ingen/URIMap.hpp
index 71cfb239..b07d4f50 100644
--- a/ingen/URIMap.hpp
+++ b/ingen/URIMap.hpp
@@ -40,7 +40,6 @@ class World;
class INGEN_API URIMap : public Raul::Noncopyable {
public:
URIMap(Log& log, LV2_URID_Map* map, LV2_URID_Unmap* unmap);
- virtual ~URIMap() {}
uint32_t map_uri(const char* uri);
uint32_t map_uri(const std::string& uri) { return map_uri(uri.c_str()); }
diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp
index 42849110..a8210ac0 100644
--- a/ingen/client/ObjectModel.hpp
+++ b/ingen/client/ObjectModel.hpp
@@ -56,8 +56,6 @@ class ClientStore;
class INGEN_API ObjectModel : public Node
{
public:
- virtual ~ObjectModel();
-
bool is_a(const URIs::Quark& type) const;
const Atom& get_property(const Raul::URI& key) const;
diff --git a/src/AtomWriter.cpp b/src/AtomWriter.cpp
index 572fd8ac..611b20d9 100644
--- a/src/AtomWriter.cpp
+++ b/src/AtomWriter.cpp
@@ -71,10 +71,6 @@ AtomWriter::AtomWriter(URIMap& map, URIs& uris, AtomSink& sink)
_out.set_forge_sink(&_forge);
}
-AtomWriter::~AtomWriter()
-{
-}
-
void
AtomWriter::finish_msg()
{
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 94106027..9c46f55f 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -36,10 +36,6 @@ ObjectModel::ObjectModel(const ObjectModel& copy)
{
}
-ObjectModel::~ObjectModel()
-{
-}
-
bool
ObjectModel::is_a(const URIs::Quark& type) const
{
diff --git a/src/gui/Style.cpp b/src/gui/Style.cpp
index 86f1ae1e..52afd404 100644
--- a/src/gui/Style.cpp
+++ b/src/gui/Style.cpp
@@ -56,10 +56,6 @@ Style::Style(App& app)
{
}
-Style::~Style()
-{
-}
-
/** Loads settings from the rc file. Passing no parameter will load from
* the default location.
*/
diff --git a/src/gui/Style.hpp b/src/gui/Style.hpp
index d2d4cbd5..f92d884e 100644
--- a/src/gui/Style.hpp
+++ b/src/gui/Style.hpp
@@ -33,7 +33,6 @@ class Style
{
public:
explicit Style(App& app);
- ~Style();
void load_settings(std::string filename = "");
void save_settings(std::string filename = "");
diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp
index eae90084..3014429e 100644
--- a/src/server/Driver.hpp
+++ b/src/server/Driver.hpp
@@ -39,7 +39,7 @@ class EnginePort;
*/
class Driver : public Raul::Noncopyable {
public:
- virtual ~Driver() {}
+ virtual ~Driver() = default;
/** Activate driver (begin processing graph and events). */
virtual bool activate() { return true; }
diff --git a/src/server/Event.hpp b/src/server/Event.hpp
index 6c414fed..2cd17aa2 100644
--- a/src/server/Event.hpp
+++ b/src/server/Event.hpp
@@ -52,8 +52,6 @@ class PreProcessContext;
class Event : public Raul::Deletable, public Raul::Noncopyable
{
public:
- virtual ~Event() {}
-
/** Event mode to distinguish normal events from undo events. */
enum class Mode { NORMAL, UNDO, REDO };
diff --git a/src/server/NodeImpl.hpp b/src/server/NodeImpl.hpp
index b5b1508b..81abb3ef 100644
--- a/src/server/NodeImpl.hpp
+++ b/src/server/NodeImpl.hpp
@@ -49,8 +49,6 @@ class RunContext;
class NodeImpl : public Node
{
public:
- virtual ~NodeImpl() {}
-
const Raul::Symbol& symbol() const { return _symbol; }
Node* graph_parent() const { return _parent; }
diff --git a/src/server/PluginImpl.hpp b/src/server/PluginImpl.hpp
index 07798e45..869c6520 100644
--- a/src/server/PluginImpl.hpp
+++ b/src/server/PluginImpl.hpp
@@ -50,8 +50,6 @@ public:
, _is_zombie(false)
{}
- virtual ~PluginImpl() {}
-
virtual BlockImpl* instantiate(BufferFactory& bufs,
const Raul::Symbol& symbol,
bool polyphonic,
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 3302ff95..50a48fbd 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -104,10 +104,6 @@ PortImpl::PortImpl(BufferFactory& bufs,
get_buffers(bufs, &BufferFactory::get_buffer, _voices, poly, 0);
}
-PortImpl::~PortImpl()
-{
-}
-
bool
PortImpl::get_buffers(BufferFactory& bufs,
GetFn get,
diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp
index 6f04a552..b3b757ff 100644
--- a/src/server/PortImpl.hpp
+++ b/src/server/PortImpl.hpp
@@ -97,8 +97,6 @@ public:
size_t buffer_size = 0,
bool is_output = true);
- ~PortImpl();
-
virtual GraphType graph_type() const { return GraphType::PORT; }
/** A port's parent is always a block, so static cast should be safe */
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp
index af2134e1..c636bf3c 100644
--- a/src/server/events/CreateBlock.cpp
+++ b/src/server/events/CreateBlock.cpp
@@ -48,10 +48,6 @@ CreateBlock::CreateBlock(Engine& engine,
, _block(NULL)
{}
-CreateBlock::~CreateBlock()
-{
-}
-
bool
CreateBlock::pre_process(PreProcessContext& ctx)
{
diff --git a/src/server/events/CreateBlock.hpp b/src/server/events/CreateBlock.hpp
index bba25534..a9ff39ee 100644
--- a/src/server/events/CreateBlock.hpp
+++ b/src/server/events/CreateBlock.hpp
@@ -45,8 +45,6 @@ public:
const Raul::Path& block_path,
Properties& properties);
- ~CreateBlock();
-
bool pre_process(PreProcessContext& ctx);
void execute(RunContext& context);
void post_process();
diff --git a/src/server/events/Mark.cpp b/src/server/events/Mark.cpp
index 93ab3071..eb956f17 100644
--- a/src/server/events/Mark.cpp
+++ b/src/server/events/Mark.cpp
@@ -41,10 +41,6 @@ Mark::Mark(Engine& engine,
, _depth(0)
{}
-Mark::~Mark()
-{
-}
-
bool
Mark::pre_process(PreProcessContext& ctx)
{
diff --git a/src/server/events/Mark.hpp b/src/server/events/Mark.hpp
index b037b56d..eaeb9332 100644
--- a/src/server/events/Mark.hpp
+++ b/src/server/events/Mark.hpp
@@ -46,8 +46,6 @@ public:
SampleCount timestamp,
const Ingen::BundleEnd& msg);
- ~Mark();
-
bool pre_process(PreProcessContext& ctx);
void execute(RunContext& context);
void post_process();
diff --git a/src/server/events/Move.cpp b/src/server/events/Move.cpp
index 681c99da..b0935675 100644
--- a/src/server/events/Move.cpp
+++ b/src/server/events/Move.cpp
@@ -38,10 +38,6 @@ Move::Move(Engine& engine,
{
}
-Move::~Move()
-{
-}
-
bool
Move::pre_process(PreProcessContext& ctx)
{
diff --git a/src/server/events/Move.hpp b/src/server/events/Move.hpp
index 4e17033a..459d2709 100644
--- a/src/server/events/Move.hpp
+++ b/src/server/events/Move.hpp
@@ -41,8 +41,6 @@ public:
SampleCount timestamp,
const Ingen::Move& msg);
- ~Move();
-
bool pre_process(PreProcessContext& ctx);
void execute(RunContext& context);
void post_process();
diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp
index 89c92580..62f2def6 100644
--- a/src/server/events/SetPortValue.cpp
+++ b/src/server/events/SetPortValue.cpp
@@ -49,10 +49,6 @@ SetPortValue::SetPortValue(Engine& engine,
{
}
-SetPortValue::~SetPortValue()
-{
-}
-
bool
SetPortValue::pre_process(PreProcessContext& ctx)
{
diff --git a/src/server/events/SetPortValue.hpp b/src/server/events/SetPortValue.hpp
index 07f1bbac..4df60019 100644
--- a/src/server/events/SetPortValue.hpp
+++ b/src/server/events/SetPortValue.hpp
@@ -47,8 +47,6 @@ public:
bool activity,
bool synthetic = false);
- ~SetPortValue();
-
bool pre_process(PreProcessContext& ctx);
void execute(RunContext& context);
void post_process();
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index 021967e9..754d76f2 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -127,10 +127,6 @@ NoteNode::NoteNode(InternalPlugin* plugin,
_ports->at(7) = _pressure_port;
}
-NoteNode::~NoteNode()
-{
-}
-
bool
NoteNode::prepare_poly(BufferFactory& bufs, uint32_t poly)
{
diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp
index e8593768..1e60c130 100644
--- a/src/server/internals/Note.hpp
+++ b/src/server/internals/Note.hpp
@@ -45,8 +45,6 @@ public:
GraphImpl* parent,
SampleRate srate);
- ~NoteNode();
-
bool prepare_poly(BufferFactory& bufs, uint32_t poly);
bool apply_poly(RunContext& context, uint32_t poly);