aboutsummaryrefslogtreecommitdiffstats
path: root/gr-fft
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-fft
parentusrp_block:pybind: add missing bind for cmd_power_key (diff)
downloadgnuradio-1cfd6287635e339b313e1826fdfda23f474c91c8.tar.xz
gnuradio-1cfd6287635e339b313e1826fdfda23f474c91c8.zip
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-fft')
-rw-r--r--gr-fft/lib/ctrlport_probe_psd_impl.h4
-rw-r--r--gr-fft/lib/goertzel_fc_impl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gr-fft/lib/ctrlport_probe_psd_impl.h b/gr-fft/lib/ctrlport_probe_psd_impl.h
index 5de5488b9..dc82acff4 100644
--- a/gr-fft/lib/ctrlport_probe_psd_impl.h
+++ b/gr-fft/lib/ctrlport_probe_psd_impl.h
@@ -38,7 +38,7 @@ public:
void setup_rpc();
- void forecast(int noutput_items, gr_vector_int& ninput_items_required);
+ void forecast(int noutput_items, gr_vector_int& ninput_items_required) override;
std::vector<gr_complex> get();
@@ -47,7 +47,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 fft
diff --git a/gr-fft/lib/goertzel_fc_impl.h b/gr-fft/lib/goertzel_fc_impl.h
index 46aa64866..eb3154e7d 100644
--- a/gr-fft/lib/goertzel_fc_impl.h
+++ b/gr-fft/lib/goertzel_fc_impl.h
@@ -36,7 +36,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 fft */