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/throttle_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/throttle_impl.h')
-rw-r--r-- | gr-blocks/lib/throttle_impl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-blocks/lib/throttle_impl.h b/gr-blocks/lib/throttle_impl.h index c752f419fa..4a75dcbfa3 100644 --- a/gr-blocks/lib/throttle_impl.h +++ b/gr-blocks/lib/throttle_impl.h @@ -29,15 +29,15 @@ private: public: throttle_impl(size_t itemsize, double samples_per_sec, bool ignore_tags = true); - ~throttle_impl(); + ~throttle_impl() override; // Overloading gr::block::start to reset timer - bool start(); + bool start() override; - void setup_rpc(); + void setup_rpc() override; - void set_sample_rate(double rate); - double sample_rate() const; + void set_sample_rate(double rate) override; + double sample_rate() const override; int work(int noutput_items, gr_vector_const_void_star& input_items, |