From 0a9b999b5cce596f4de05828005f698047e14ce9 Mon Sep 17 00:00:00 2001 From: Eric Blossom 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 ++-- gr-howto-write-a-block/lib/howto_square_ff.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'gr-howto-write-a-block/lib') 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 e86db93dd..5e0fd7a43 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 ()); } /* diff --git a/gr-howto-write-a-block/lib/howto_square_ff.cc b/gr-howto-write-a-block/lib/howto_square_ff.cc index 5ab45d1f2..f1d5a7848 100644 --- a/gr-howto-write-a-block/lib/howto_square_ff.cc +++ b/gr-howto-write-a-block/lib/howto_square_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_square_ff_sptr howto_make_square_ff () { - return howto_square_ff_sptr (new howto_square_ff ()); + return gnuradio::get_initial_sptr(new howto_square_ff ()); } /* -- cgit