diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2020-10-30 18:22:33 +0100 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-11-03 14:07:23 -0500 |
commit | 0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b (patch) | |
tree | b454053fdc123711f3011b8a703de38e1d783ba3 /gr-blocks/lib/peak_detector2_fb_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/peak_detector2_fb_impl.h')
-rw-r--r-- | gr-blocks/lib/peak_detector2_fb_impl.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-blocks/lib/peak_detector2_fb_impl.h b/gr-blocks/lib/peak_detector2_fb_impl.h index 62571c0baa..8432d64eaa 100644 --- a/gr-blocks/lib/peak_detector2_fb_impl.h +++ b/gr-blocks/lib/peak_detector2_fb_impl.h @@ -31,15 +31,15 @@ private: public: peak_detector2_fb_impl(float threshold_factor_rise, int look_ahead, float alpha); - ~peak_detector2_fb_impl(); + ~peak_detector2_fb_impl() override; - void set_threshold_factor_rise(float thr); - void set_look_ahead(int look); - void set_alpha(float alpha); + void set_threshold_factor_rise(float thr) override; + void set_look_ahead(int look) override; + void set_alpha(float alpha) override; - float threshold_factor_rise() { return d_threshold_factor_rise; } - int look_ahead() { return d_look_ahead; } - float alpha() { return d_alpha; } + float threshold_factor_rise() override { return d_threshold_factor_rise; } + int look_ahead() override { return d_look_ahead; } + float alpha() override { return d_alpha; } int work(int noutput_items, gr_vector_const_void_star& input_items, |