X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgr_pwr_squelch_cc.cc;fp=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgr_pwr_squelch_cc.cc;h=d2fee1a573114735e9e8fe944a0e1e0cb11836dd;hb=2924c0e740bbb9106bfed602345daaee5606d62a;hp=1604972fd25fbe310b162c2ccd60c5581df4758e;hpb=94d315e556805fb75784964499472977664809c4;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc b/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc index 1604972f..d2fee1a5 100644 --- a/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc +++ b/gnuradio-core/src/lib/general/gr_pwr_squelch_cc.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004,2006 Free Software Foundation, Inc. + * Copyright 2004,2006,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -29,7 +29,7 @@ gr_pwr_squelch_cc_sptr gr_make_pwr_squelch_cc(double threshold, double alpha, int ramp, bool gate) { - return gr_pwr_squelch_cc_sptr(new gr_pwr_squelch_cc(threshold, alpha, ramp, gate)); + return gnuradio::get_initial_sptr(new gr_pwr_squelch_cc(threshold, alpha, ramp, gate)); } gr_pwr_squelch_cc::gr_pwr_squelch_cc(double threshold, double alpha, int ramp, bool gate) :