diff options
Diffstat (limited to 'gr-blocks/lib/threshold_ff_impl.cc')
-rw-r--r-- | gr-blocks/lib/threshold_ff_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/threshold_ff_impl.cc b/gr-blocks/lib/threshold_ff_impl.cc index 86405710ef..c0ea05b1b9 100644 --- a/gr-blocks/lib/threshold_ff_impl.cc +++ b/gr-blocks/lib/threshold_ff_impl.cc @@ -20,7 +20,7 @@ namespace blocks { threshold_ff::sptr threshold_ff::make(float lo, float hi, float initial_state) { - return gnuradio::get_initial_sptr(new threshold_ff_impl(lo, hi, initial_state)); + return gnuradio::make_block_sptr<threshold_ff_impl>(lo, hi, initial_state); } threshold_ff_impl::threshold_ff_impl(float lo, float hi, float initial_state) |