From 8613b52b42585f1f0f1ca73b778cd47ec2548292 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan <jcorgan@corganenterprises.com> Date: Sun, 29 Apr 2012 10:28:01 -0700 Subject: fft: make interface functions pure virtual --- gr-fft/include/fft/fft_vfc.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gr-fft/include/fft/fft_vfc.h') diff --git a/gr-fft/include/fft/fft_vfc.h b/gr-fft/include/fft/fft_vfc.h index 01a5decdf5..fc48ceefea 100644 --- a/gr-fft/include/fft/fft_vfc.h +++ b/gr-fft/include/fft/fft_vfc.h @@ -44,14 +44,11 @@ namespace gr { const std::vector<float> &window, int nthreads=1); - virtual void set_nthreads(int n) - { throw std::runtime_error("fft_vfc::set_nthreads not implemented.\n"); } + virtual void set_nthreads(int n) = 0; - virtual int nthreads() const - { throw std::runtime_error("fft_vfc::nthreads not implemented.\n"); } + virtual int nthreads() const = 0; - virtual bool set_window(const std::vector<float> &window) - { throw std::runtime_error("fft_vfc::set_window not implemented.\n"); } + virtual bool set_window(const std::vector<float> &window) = 0; }; } /* namespace fft */ -- cgit v1.2.3