From 1cfd6287635e339b313e1826fdfda23f474c91c8 Mon Sep 17 00:00:00 2001
From: Thomas Habets <thomas@habets.se>
Date: Wed, 26 Aug 2020 21:09:02 +0100
Subject: Add `override` for common virtual function overrides

Mostly done with:

```
find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}'
```

Then I removed an incorrect `work` that this found.
---
 gr-blocks/lib/stream_demux_impl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gr-blocks/lib/stream_demux_impl.h')

diff --git a/gr-blocks/lib/stream_demux_impl.h b/gr-blocks/lib/stream_demux_impl.h
index 8fabf5e613..7dff893d3d 100644
--- a/gr-blocks/lib/stream_demux_impl.h
+++ b/gr-blocks/lib/stream_demux_impl.h
@@ -39,12 +39,12 @@ private:
 public:
     stream_demux_impl(size_t itemsize, const std::vector<int>& lengths);
 
-    void forecast(int noutput_items, gr_vector_int& ninput_items_required);
+    void forecast(int noutput_items, gr_vector_int& ninput_items_required) override;
 
     int general_work(int noutput_items,
                      gr_vector_int& ninput_items,
                      gr_vector_const_void_star& input_items,
-                     gr_vector_void_star& output_items);
+                     gr_vector_void_star& output_items) override;
 };
 
 } // namespace blocks
-- 
cgit v1.2.3