summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/lib
diff options
context:
space:
mode:
authorEric Blossom2010-08-03 13:36:18 -0700
committerEric Blossom2010-08-03 13:43:42 -0700
commit0a9b999b5cce596f4de05828005f698047e14ce9 (patch)
tree3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-howto-write-a-block/lib
parentfa56c39802a82e6e0e730813a57e86e1aea09a24 (diff)
downloadgnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.gz
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.bz2
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.zip
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gr-howto-write-a-block/lib')
-rw-r--r--gr-howto-write-a-block/lib/howto_square2_ff.cc4
-rw-r--r--gr-howto-write-a-block/lib/howto_square_ff.cc4
2 files changed, 4 insertions, 4 deletions
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 ());
}
/*