summaryrefslogtreecommitdiff
path: root/gr-network/lib
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2020-08-26 21:09:02 +0100
committermormj <34754695+mormj@users.noreply.github.com>2020-11-03 14:07:23 -0500
commit1cfd6287635e339b313e1826fdfda23f474c91c8 (patch)
tree1e67c4fe9e800e9f4e3d0c86831b759c8a819954 /gr-network/lib
parentfe2b23ce9f0eb3e2ccd73db0568c265c22cd6603 (diff)
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.
Diffstat (limited to 'gr-network/lib')
-rw-r--r--gr-network/lib/tcp_sink_impl.h2
-rw-r--r--gr-network/lib/udp_sink_impl.h2
-rw-r--r--gr-network/lib/udp_source_impl.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gr-network/lib/tcp_sink_impl.h b/gr-network/lib/tcp_sink_impl.h
index 2f1a5bb679..82c66ec2d6 100644
--- a/gr-network/lib/tcp_sink_impl.h
+++ b/gr-network/lib/tcp_sink_impl.h
@@ -64,7 +64,7 @@ public:
int work(int noutput_items,
gr_vector_const_void_star& input_items,
- gr_vector_void_star& output_items);
+ gr_vector_void_star& output_items) override;
};
} // namespace network
diff --git a/gr-network/lib/udp_sink_impl.h b/gr-network/lib/udp_sink_impl.h
index 8addbe6c7e..800352aade 100644
--- a/gr-network/lib/udp_sink_impl.h
+++ b/gr-network/lib/udp_sink_impl.h
@@ -71,7 +71,7 @@ public:
int work(int noutput_items,
gr_vector_const_void_star& input_items,
- gr_vector_void_star& output_items);
+ gr_vector_void_star& output_items) override;
};
} // namespace network
diff --git a/gr-network/lib/udp_source_impl.h b/gr-network/lib/udp_source_impl.h
index 73975608a4..4442f1976d 100644
--- a/gr-network/lib/udp_source_impl.h
+++ b/gr-network/lib/udp_source_impl.h
@@ -76,7 +76,7 @@ public:
int work(int noutput_items,
gr_vector_const_void_star& input_items,
- gr_vector_void_star& output_items);
+ gr_vector_void_star& output_items) override;
};
} // namespace network