From 0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Fri, 30 Oct 2020 18:22:33 +0100
Subject: modernization: `override` instead of virtual in all compilation units

---
 gr-blocks/lib/peak_detector_impl.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'gr-blocks/lib/peak_detector_impl.h')

diff --git a/gr-blocks/lib/peak_detector_impl.h b/gr-blocks/lib/peak_detector_impl.h
index 4aa792654f..8ca9522570 100644
--- a/gr-blocks/lib/peak_detector_impl.h
+++ b/gr-blocks/lib/peak_detector_impl.h
@@ -31,16 +31,16 @@ public:
                        float threshold_factor_fall,
                        int look_ahead,
                        float alpha);
-    ~peak_detector_impl();
-
-    void set_threshold_factor_rise(float thr) { d_threshold_factor_rise = thr; }
-    void set_threshold_factor_fall(float thr) { d_threshold_factor_fall = thr; }
-    void set_look_ahead(int look) { d_look_ahead = look; }
-    void set_alpha(float alpha) { d_avg_alpha = alpha; }
-    float threshold_factor_rise() { return d_threshold_factor_rise; }
-    float threshold_factor_fall() { return d_threshold_factor_fall; }
-    int look_ahead() { return d_look_ahead; }
-    float alpha() { return d_avg_alpha; }
+    ~peak_detector_impl() override;
+
+    void set_threshold_factor_rise(float thr) override { d_threshold_factor_rise = thr; }
+    void set_threshold_factor_fall(float thr) override { d_threshold_factor_fall = thr; }
+    void set_look_ahead(int look) override { d_look_ahead = look; }
+    void set_alpha(float alpha) override { d_avg_alpha = alpha; }
+    float threshold_factor_rise() override { return d_threshold_factor_rise; }
+    float threshold_factor_fall() override { return d_threshold_factor_fall; }
+    int look_ahead() override { return d_look_ahead; }
+    float alpha() override { return d_avg_alpha; }
 
     int work(int noutput_items,
              gr_vector_const_void_star& input_items,
-- 
cgit v1.2.3