diff options
author | Thomas Habets <thomas@habets.se> | 2020-01-03 21:31:02 +0000 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-04 23:35:20 -0800 |
commit | cb1aa0c49dd81be29cc698d0998f5cef2bcfec4d (patch) | |
tree | 93cdc2d8d05218e444ba665f0ac5c01c3f7d8ec6 /gr-fft | |
parent | gr-fft: Remove malloc_{float,double} (diff) | |
download | gnuradio-cb1aa0c49dd81be29cc698d0998f5cef2bcfec4d.tar.xz gnuradio-cb1aa0c49dd81be29cc698d0998f5cef2bcfec4d.zip |
gr-fft/goertzel_fc: Remove needless destructor
Diffstat (limited to 'gr-fft')
-rw-r--r-- | gr-fft/lib/goertzel_fc_impl.cc | 8 | ||||
-rw-r--r-- | gr-fft/lib/goertzel_fc_impl.h | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/gr-fft/lib/goertzel_fc_impl.cc b/gr-fft/lib/goertzel_fc_impl.cc index 4f40de439..082143fb9 100644 --- a/gr-fft/lib/goertzel_fc_impl.cc +++ b/gr-fft/lib/goertzel_fc_impl.cc @@ -41,14 +41,12 @@ goertzel_fc_impl::goertzel_fc_impl(int rate, int len, float freq) io_signature::make(1, 1, sizeof(gr_complex)), len), d_goertzel(rate, len, freq), - d_len(len) + d_len(len), + d_freq(freq), + d_rate(rate) { - d_rate = rate; - d_freq = freq; } -goertzel_fc_impl::~goertzel_fc_impl() {} - void goertzel_fc_impl::set_freq(float freq) { d_freq = freq; diff --git a/gr-fft/lib/goertzel_fc_impl.h b/gr-fft/lib/goertzel_fc_impl.h index e771bc153..5ead43704 100644 --- a/gr-fft/lib/goertzel_fc_impl.h +++ b/gr-fft/lib/goertzel_fc_impl.h @@ -40,8 +40,6 @@ private: public: goertzel_fc_impl(int rate, int len, float freq); - ~goertzel_fc_impl(); - void set_freq(float freq); void set_rate(int rate); |