summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/unpacked_to_packed_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/unpacked_to_packed_impl.h
parent1cfd6287635e339b313e1826fdfda23f474c91c8 (diff)
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-blocks/lib/unpacked_to_packed_impl.h')
-rw-r--r--gr-blocks/lib/unpacked_to_packed_impl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gr-blocks/lib/unpacked_to_packed_impl.h b/gr-blocks/lib/unpacked_to_packed_impl.h
index a21f38ae8e..a4d8b024b7 100644
--- a/gr-blocks/lib/unpacked_to_packed_impl.h
+++ b/gr-blocks/lib/unpacked_to_packed_impl.h
@@ -30,7 +30,7 @@ private:
public:
unpacked_to_packed_impl(unsigned int bits_per_chunk, endianness_t endianness);
- ~unpacked_to_packed_impl();
+ ~unpacked_to_packed_impl() override;
void forecast(int noutput_items, gr_vector_int& ninput_items_required) override;
int general_work(int noutput_items,
@@ -38,7 +38,10 @@ public:
gr_vector_const_void_star& input_items,
gr_vector_void_star& output_items) override;
- bool check_topology(int ninputs, int noutputs) { return ninputs == noutputs; }
+ bool check_topology(int ninputs, int noutputs) override
+ {
+ return ninputs == noutputs;
+ }
};
} /* namespace blocks */