X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgr_pn_correlator_cc.cc;fp=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgr_pn_correlator_cc.cc;h=37e7b803ca902860c4b95ff9420cf3be9a146b15;hb=2924c0e740bbb9106bfed602345daaee5606d62a;hp=2614c3a2d83dd9b6e94ebb19a3be4e1f5c2602d0;hpb=94d315e556805fb75784964499472977664809c4;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/general/gr_pn_correlator_cc.cc b/gnuradio-core/src/lib/general/gr_pn_correlator_cc.cc index 2614c3a2..37e7b803 100644 --- a/gnuradio-core/src/lib/general/gr_pn_correlator_cc.cc +++ b/gnuradio-core/src/lib/general/gr_pn_correlator_cc.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2007 Free Software Foundation, Inc. + * Copyright 2007,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -30,7 +30,7 @@ gr_pn_correlator_cc_sptr gr_make_pn_correlator_cc(int degree, int mask, int seed) { - return gr_pn_correlator_cc_sptr (new gr_pn_correlator_cc(degree, mask, seed)); + return gnuradio::get_initial_sptr(new gr_pn_correlator_cc(degree, mask, seed)); } gr_pn_correlator_cc::gr_pn_correlator_cc(int degree, int mask, int seed)