summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/head_impl.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-10-30 18:22:33 +0100
committermormj <34754695+mormj@users.noreply.github.com>2020-11-03 14:07:23 -0500
commit0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b (patch)
treeb454053fdc123711f3011b8a703de38e1d783ba3 /gr-blocks/lib/head_impl.h
parent1cfd6287635e339b313e1826fdfda23f474c91c8 (diff)
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/head_impl.h')
-rw-r--r--gr-blocks/lib/head_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/lib/head_impl.h b/gr-blocks/lib/head_impl.h
index a973dd6be9..5332c33d95 100644
--- a/gr-blocks/lib/head_impl.h
+++ b/gr-blocks/lib/head_impl.h
@@ -24,10 +24,10 @@ private:
public:
head_impl(size_t sizeof_stream_item, uint64_t nitems);
- ~head_impl();
+ ~head_impl() override;
- void reset() { d_ncopied_items = 0; }
- void set_length(uint64_t nitems) { d_nitems = nitems; }
+ void reset() override { d_ncopied_items = 0; }
+ void set_length(uint64_t nitems) override { d_nitems = nitems; }
int work(int noutput_items,
gr_vector_const_void_star& input_items,