summaryrefslogtreecommitdiff
path: root/gnuradio-examples/c++/dial_tone/dial_tone.cc
diff options
context:
space:
mode:
authorjcoy2008-08-06 00:15:04 +0000
committerjcoy2008-08-06 00:15:04 +0000
commit955cb47cb9b6c07dbbb54ab14c16dd8e297e567d (patch)
tree135e474d9137bd39ed71eef73c11a5bc7f691cf8 /gnuradio-examples/c++/dial_tone/dial_tone.cc
parentaed878fe0680fa0b3b378ab186d974ab51755d2c (diff)
downloadgnuradio-955cb47cb9b6c07dbbb54ab14c16dd8e297e567d.tar.gz
gnuradio-955cb47cb9b6c07dbbb54ab14c16dd8e297e567d.tar.bz2
gnuradio-955cb47cb9b6c07dbbb54ab14c16dd8e297e567d.zip
dial_tone c++ example top block pointer fix
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9175 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/c++/dial_tone/dial_tone.cc')
-rw-r--r--gnuradio-examples/c++/dial_tone/dial_tone.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-examples/c++/dial_tone/dial_tone.cc b/gnuradio-examples/c++/dial_tone/dial_tone.cc
index 296cfcc11..9a2772a18 100644
--- a/gnuradio-examples/c++/dial_tone/dial_tone.cc
+++ b/gnuradio-examples/c++/dial_tone/dial_tone.cc
@@ -1,5 +1,5 @@
/*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -27,7 +27,7 @@
// Shared pointer constructor
dial_tone_sptr make_dial_tone()
{
- return dial_tone_sptr(new dial_tone());
+ return gnuradio::get_initial_sptr(new dial_tone());
}
// Hierarchical block constructor, with no inputs or outputs