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/int_to_float_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/int_to_float_impl.h')
-rw-r--r-- | gr-blocks/lib/int_to_float_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/int_to_float_impl.h b/gr-blocks/lib/int_to_float_impl.h index 07c781ed41..f2c628d36d 100644 --- a/gr-blocks/lib/int_to_float_impl.h +++ b/gr-blocks/lib/int_to_float_impl.h @@ -24,8 +24,8 @@ class BLOCKS_API int_to_float_impl : public int_to_float public: int_to_float_impl(size_t vlen, float scale); - virtual float scale() const { return d_scale; } - virtual void set_scale(float scale) { d_scale = scale; } + float scale() const override { return d_scale; } + void set_scale(float scale) override { d_scale = scale; } int work(int noutput_items, gr_vector_const_void_star& input_items, |