summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block
diff options
context:
space:
mode:
authorJohnathan Corgan2010-08-03 14:21:36 -0700
committerJohnathan Corgan2010-08-03 14:21:36 -0700
commit62328b4e78e2df20bccb2983bbe7591f99ba013f (patch)
treec249fa5639c2c46066782012b7075bb8b7879335 /gr-howto-write-a-block
parent8034e2cd49fd71bfdf1ed587d49781a444e1cced (diff)
parent0a9b999b5cce596f4de05828005f698047e14ce9 (diff)
downloadgnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.gz
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.tar.bz2
gnuradio-62328b4e78e2df20bccb2983bbe7591f99ba013f.zip
Merge branch 'maint'
Diffstat (limited to 'gr-howto-write-a-block')
-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 ());
}
/*