From d929ecf1e0196161acb5a106761e8fad7040e9d3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 14 Jan 2018 07:10:35 +0100 Subject: Make ~PipelinedModcodec virtual, simplify GainControl and FIRFilter declarations --- src/ModPlugin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ModPlugin.h') 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 dataIn, std::vector 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; -- cgit v1.2.3