diff options
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_quadrature_demod_cf.h | 2 | ||||
-rw-r--r-- | gnuradio-core/src/lib/general/gr_quadrature_demod_cf.i | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.h b/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.h index a7b449c0f..df6de93d5 100644 --- a/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.h +++ b/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.h @@ -45,7 +45,7 @@ class gr_quadrature_demod_cf : public gr_sync_block public: void set_gain(float gain) { d_gain = gain; } - float get_gain() { return d_gain; } + float gain() const { return d_gain; } int work (int noutput_items, gr_vector_const_void_star &input_items, diff --git a/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.i b/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.i index 2591e1085..d9f338daa 100644 --- a/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.i +++ b/gnuradio-core/src/lib/general/gr_quadrature_demod_cf.i @@ -30,5 +30,5 @@ class gr_quadrature_demod_cf : public gr_sync_block public: void set_gain(float gain) { d_gain = gain; } - float get_gain() { return d_gain; } + float gain() const { return d_gain; } }; |