summaryrefslogtreecommitdiff
path: root/gr-fft
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2013-07-09 12:01:25 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-09 09:56:24 -0700
commit61d88983fbe8ba7822f227efc57aa98fa287c87b (patch)
treec024d3683de741ef9e746773e23ec4a28cee8d8a /gr-fft
parentf5b4cc0f16f8b8f11bd7f54b069ba190732e86ce (diff)
goertzel.h : Remove the default constructor for fft::goertzel.
The default constructor does not properly initialize the class variables. This leads to the possibilty of undefined behavior if the class is used carelessly. Instead force the user to do the right thing at compile time. The patch also fixes the in-tree user of this class. Signed-off-by: Philip Balister <philip@opensdr.com>
Diffstat (limited to 'gr-fft')
-rw-r--r--gr-fft/include/gnuradio/fft/goertzel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gr-fft/include/gnuradio/fft/goertzel.h b/gr-fft/include/gnuradio/fft/goertzel.h
index 47ff1dd18c..6d9437f0fa 100644
--- a/gr-fft/include/gnuradio/fft/goertzel.h
+++ b/gr-fft/include/gnuradio/fft/goertzel.h
@@ -36,7 +36,6 @@ namespace gr {
class FFT_API goertzel
{
public:
- goertzel(){}
goertzel(int rate, int len, float freq);
void set_params(int rate, int len, float freq);