diff options
Diffstat (limited to 'src/ModPlugin.h')
-rw-r--r-- | src/ModPlugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ModPlugin.h b/src/ModPlugin.h index c0f1c1a..5635fca 100644 --- a/src/ModPlugin.h +++ b/src/ModPlugin.h @@ -65,6 +65,7 @@ public: std::vector<Buffer*> dataIn, std::vector<Buffer*> dataOut) = 0; virtual const char* name() = 0; + virtual ~ModPlugin() = default; }; /* Inputs are sources, the output buffers without reading any */ @@ -99,7 +100,7 @@ public: PipelinedModCodec& operator=(const PipelinedModCodec&) = delete; PipelinedModCodec(PipelinedModCodec&&) = delete; PipelinedModCodec& operator=(PipelinedModCodec&&) = delete; - ~PipelinedModCodec(); + virtual ~PipelinedModCodec(); virtual int process(Buffer* const dataIn, Buffer* dataOut) final; virtual const char* name() = 0; |