summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-06 20:07:50 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-06 20:07:50 +0100
commite3ad180e9452be85ff35a10b4bb4a0dbf1ac11b4 (patch)
treef642b6f5cb61b6e8c85250ab317640ef384d810b /src
parent15f98dfc9858cd11d616cf1dfdd1a1e50a7a48db (diff)
Make destructors virtual as appropriate.
Diffstat (limited to 'src')
-rw-r--r--src/drumkitparser.h1
-rw-r--r--src/inputfilter.h2
-rw-r--r--src/instrumentparser.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/drumkitparser.h b/src/drumkitparser.h
index 444b459..cc1b3d6 100644
--- a/src/drumkitparser.h
+++ b/src/drumkitparser.h
@@ -35,6 +35,7 @@ class DrumKitParser
{
public:
DrumKitParser(Settings& setting, DrumKit& kit, Random& rand);
+ virtual ~DrumKitParser() = default;
virtual int parseFile(const std::string& filename) override;
diff --git a/src/inputfilter.h b/src/inputfilter.h
index 26f7294..45dd01e 100644
--- a/src/inputfilter.h
+++ b/src/inputfilter.h
@@ -32,6 +32,8 @@
class InputFilter
{
public:
+ virtual ~InputFilter() = default;
+
//! Implement to filter a single event.
//! \param[in,out] event The event being processed. The filter method
//! might alter any of the event parameters.
diff --git a/src/instrumentparser.h b/src/instrumentparser.h
index 793bfb6..512f12f 100644
--- a/src/instrumentparser.h
+++ b/src/instrumentparser.h
@@ -37,6 +37,7 @@ class InstrumentParser
{
public:
InstrumentParser(Instrument &instrument);
+ virtual ~InstrumentParser() = default;
virtual int parseFile(const std::string& filename) override;