From 0a9b999b5cce596f4de05828005f698047e14ce9 Mon Sep 17 00:00:00 2001 From: Eric Blossom <eb@comsec.com> Date: Tue, 3 Aug 2010 13:36:18 -0700 Subject: Modify all block factories to use gnuradio::get_initial_sptr. --- gr-howto-write-a-block/lib/howto_square2_ff.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-howto-write-a-block/lib/howto_square2_ff.cc') 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 e86db93dd2..5e0fd7a436 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 ()); } /* -- cgit v1.2.3