X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-howto-write-a-block%2Flib%2Fhowto_square2_ff.cc;fp=gr-howto-write-a-block%2Flib%2Fhowto_square2_ff.cc;h=5e0fd7a436ffda7cf038356f447f168d6e7ddcb8;hb=2924c0e740bbb9106bfed602345daaee5606d62a;hp=e86db93dd2f34cd2bffbe8f69a19fd96d896eb6e;hpb=94d315e556805fb75784964499472977664809c4;p=debian%2Fgnuradio diff --git a/gr-howto-write-a-block/lib/howto_square2_ff.cc b/gr-howto-write-a-block/lib/howto_square2_ff.cc index e86db93d..5e0fd7a4 100644 --- a/gr-howto-write-a-block/lib/howto_square2_ff.cc +++ b/gr-howto-write-a-block/lib/howto_square2_ff.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2004 Free Software Foundation, Inc. + * Copyright 2004,2010 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -39,7 +39,7 @@ howto_square2_ff_sptr howto_make_square2_ff () { - return howto_square2_ff_sptr (new howto_square2_ff ()); + return gnuradio::get_initial_sptr(new howto_square2_ff ()); } /*