diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-03-03 15:03:28 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2013-03-03 15:03:28 +0100 |
commit | c3d2e7e6a5a83d8ac7d5b453e47c85d24d03bbcc (patch) | |
tree | f7857c88e66b1817c6045c5422a609157a85f342 | |
parent | a7771bd95d25f43c36f28587e4af7da7966bbcb7 (diff) |
Remove 'const' qualifier from return types
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | include/iqbalance_fix_cc.h | 4 | ||||
-rw-r--r-- | include/iqbalance_optimize_c.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/iqbalance_fix_cc.h b/include/iqbalance_fix_cc.h index c858e19..519b740 100644 --- a/include/iqbalance_fix_cc.h +++ b/include/iqbalance_fix_cc.h @@ -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); diff --git a/include/iqbalance_optimize_c.h b/include/iqbalance_optimize_c.h index 4571da6..612b557 100644 --- a/include/iqbalance_optimize_c.h +++ b/include/iqbalance_optimize_c.h @@ -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; } |