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/wavfile_source_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/wavfile_source_impl.h')
-rw-r--r-- | gr-blocks/lib/wavfile_source_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/wavfile_source_impl.h b/gr-blocks/lib/wavfile_source_impl.h index f05f0354cd..2258ed2011 100644 --- a/gr-blocks/lib/wavfile_source_impl.h +++ b/gr-blocks/lib/wavfile_source_impl.h @@ -33,13 +33,13 @@ private: public: wavfile_source_impl(const char* filename, bool repeat); - ~wavfile_source_impl(); + ~wavfile_source_impl() override; - unsigned int sample_rate() const { return d_h.sample_rate; }; + unsigned int sample_rate() const override { return d_h.sample_rate; }; - int bits_per_sample() const { return d_h.bytes_per_sample * 8; }; + int bits_per_sample() const override { return d_h.bytes_per_sample * 8; }; - int channels() const { return d_h.nchans; }; + int channels() const override { return d_h.nchans; }; int work(int noutput_items, gr_vector_const_void_star& input_items, |