From 0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Fri, 30 Oct 2020 18:22:33 +0100
Subject: modernization: `override` instead of virtual in all compilation units

---
 gr-analog/lib/sig_source_impl.h | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

(limited to 'gr-analog/lib/sig_source_impl.h')

diff --git a/gr-analog/lib/sig_source_impl.h b/gr-analog/lib/sig_source_impl.h
index 580643c4ee..d73c51de68 100644
--- a/gr-analog/lib/sig_source_impl.h
+++ b/gr-analog/lib/sig_source_impl.h
@@ -37,31 +37,31 @@ public:
                     double ampl,
                     T offset = 0,
                     float phase = 0);
-    ~sig_source_impl();
+    ~sig_source_impl() override;
 
-    virtual int work(int noutput_items,
-                     gr_vector_const_void_star& input_items,
-                     gr_vector_void_star& output_items) override;
+    int work(int noutput_items,
+             gr_vector_const_void_star& input_items,
+             gr_vector_void_star& output_items) override;
 
-    double sampling_freq() const { return d_sampling_freq; }
-    gr_waveform_t waveform() const { return d_waveform; }
-    double frequency() const { return d_frequency; }
-    double amplitude() const { return d_ampl; }
-    T offset() const { return d_offset; }
-    float phase() const { return d_nco.get_phase(); }
+    double sampling_freq() const override { return d_sampling_freq; }
+    gr_waveform_t waveform() const override { return d_waveform; }
+    double frequency() const override { return d_frequency; }
+    double amplitude() const override { return d_ampl; }
+    T offset() const override { return d_offset; }
+    float phase() const override { return d_nco.get_phase(); }
 
-    void set_sampling_freq(double sampling_freq);
-    void set_waveform(gr_waveform_t waveform);
+    void set_sampling_freq(double sampling_freq) override;
+    void set_waveform(gr_waveform_t waveform) override;
 
     // Message handlers
     //!\brief deprecated handler. Use "cmd" port instead.
     void set_freq_msg(pmt::pmt_t msg);
     void set_cmd_msg(pmt::pmt_t msg);
 
-    void set_frequency(double frequency);
-    void set_amplitude(double ampl);
-    void set_offset(T offset);
-    void set_phase(float phase);
+    void set_frequency(double frequency) override;
+    void set_amplitude(double ampl) override;
+    void set_offset(T offset) override;
+    void set_phase(float phase) override;
 };
 
 } /* namespace analog */
-- 
cgit v1.2.3