summaryrefslogtreecommitdiffstats
path: root/src/GainControl.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:10:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:10:35 +0100
commitd929ecf1e0196161acb5a106761e8fad7040e9d3 (patch)
treebb845782b679cabc4475a66a727145d949905a78 /src/GainControl.h
parentb48fb779024138a760b5c6309d097b712d2bb853 (diff)
downloaddabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.tar.gz
dabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.tar.bz2
dabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.zip
Make ~PipelinedModcodec virtual, simplify GainControl and FIRFilter declarations
Diffstat (limited to 'src/GainControl.h')
-rw-r--r--src/GainControl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GainControl.h b/src/GainControl.h
index e9eaa8c..92c905b 100644
--- a/src/GainControl.h
+++ b/src/GainControl.h
@@ -56,9 +56,9 @@ class GainControl : public PipelinedModCodec, public RemoteControllable
float normalise,
float varVariance);
- virtual ~GainControl();
- GainControl(const GainControl&);
- GainControl& operator=(const GainControl&);
+ virtual ~GainControl() = default;
+ GainControl(const GainControl&) = delete;
+ GainControl& operator=(const GainControl&) = delete;
const char* name() override { return "GainControl"; }