Remove 'const' qualifier from return types

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2013-03-03 15:03:28 +01:00
parent a7771bd95d
commit c3d2e7e6a5
2 changed files with 5 additions and 5 deletions

View File

@ -51,8 +51,8 @@ class IQBALANCE_API iqbalance_fix_cc : public gr_sync_block
void set_mag(float mag) { this->d_mag = mag; }
void set_phase(float phase) { this->d_phase = phase; }
const float mag() const { return this->d_mag; }
const float phase() const { return this->d_phase; }
float mag() const { return this->d_mag; }
float phase() const { return this->d_phase; }
void apply_new_corrections (pmt::pmt_t msg);

View File

@ -51,10 +51,10 @@ class IQBALANCE_API iqbalance_optimize_c : public gr_sync_block
~iqbalance_optimize_c();
void set_period(int period) { this->d_period = period; }
const int period() const { return this->d_period; }
int period() const { return this->d_period; }
const float mag() const { return this->d_mag; }
const float phase() const { return this->d_phase; }
float mag() const { return this->d_mag; }
float phase() const { return this->d_phase; }
void reset(void) { this->d_first = true; this->d_mag = this->d_phase = 0.0f; }