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-analog/lib/squelch_base_ff_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-analog/lib/squelch_base_ff_impl.h')
-rw-r--r-- | gr-analog/lib/squelch_base_ff_impl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gr-analog/lib/squelch_base_ff_impl.h b/gr-analog/lib/squelch_base_ff_impl.h index 3d239ac2fd..3e9128d152 100644 --- a/gr-analog/lib/squelch_base_ff_impl.h +++ b/gr-analog/lib/squelch_base_ff_impl.h @@ -29,20 +29,20 @@ private: bool d_tag_next_unmuted; protected: - virtual void update_state(const float& sample){}; - virtual bool mute() const { return false; }; + void update_state(const float& sample) override{}; + bool mute() const override { return false; }; public: squelch_base_ff_impl(const char* name, int ramp, bool gate); - ~squelch_base_ff_impl(); + ~squelch_base_ff_impl() override; - int ramp() const; - void set_ramp(int ramp); - bool gate() const; - void set_gate(bool gate); - bool unmuted() const; + int ramp() const override; + void set_ramp(int ramp) override; + bool gate() const override; + void set_gate(bool gate) override; + bool unmuted() const override; - virtual std::vector<float> squelch_range() const = 0; + std::vector<float> squelch_range() const override = 0; int general_work(int noutput_items, gr_vector_int& ninput_items, |