diff options
author | Johnathan Corgan | 2011-07-01 11:19:32 -0700 |
---|---|---|
committer | Johnathan Corgan | 2011-07-01 11:19:32 -0700 |
commit | 33c00729c9720c2254cb0fa9daad5994aeba1ab7 (patch) | |
tree | f2e57c107bb524c444a9873c93c5be90c9f2c10f /gnuradio-core/src/lib/general | |
parent | 4c503b6ab621cb15724a6f5ddc6f399d945b42bf (diff) | |
download | gnuradio-33c00729c9720c2254cb0fa9daad5994aeba1ab7.tar.gz gnuradio-33c00729c9720c2254cb0fa9daad5994aeba1ab7.tar.bz2 gnuradio-33c00729c9720c2254cb0fa9daad5994aeba1ab7.zip |
gnuradio-core: use common coding style for accessor in quadrature_demod_cf
Diffstat (limited to 'gnuradio-core/src/lib/general')
-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; } }; |