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_sink_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/wavfile_sink_impl.h')
-rw-r--r-- | gr-blocks/lib/wavfile_sink_impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/lib/wavfile_sink_impl.h b/gr-blocks/lib/wavfile_sink_impl.h index af5f205e22..957c5a40da 100644 --- a/gr-blocks/lib/wavfile_sink_impl.h +++ b/gr-blocks/lib/wavfile_sink_impl.h @@ -60,7 +60,7 @@ private: void close_wav(); protected: - bool stop(); + bool stop() override; public: wavfile_sink_impl(const char* filename, @@ -69,13 +69,13 @@ public: wavfile_format_t format, wavfile_subformat_t subformat, bool append); - ~wavfile_sink_impl(); + ~wavfile_sink_impl() override; - bool open(const char* filename); - void close(); + bool open(const char* filename) override; + void close() override; - void set_sample_rate(unsigned int sample_rate); - void set_bits_per_sample(int bits_per_sample); + void set_sample_rate(unsigned int sample_rate) override; + void set_bits_per_sample(int bits_per_sample) override; void set_append(bool append) override; int bits_per_sample(); |