[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9175 - gnuradio/trunk/gnuradio-examples/c++/dial_tone
From: |
jcoy |
Subject: |
[Commit-gnuradio] r9175 - gnuradio/trunk/gnuradio-examples/c++/dial_tone |
Date: |
Tue, 5 Aug 2008 18:15:04 -0600 (MDT) |
Author: jcoy
Date: 2008-08-05 18:15:04 -0600 (Tue, 05 Aug 2008)
New Revision: 9175
Modified:
gnuradio/trunk/gnuradio-examples/c++/dial_tone/dial_tone.cc
Log:
dial_tone c++ example top block pointer fix
Modified: gnuradio/trunk/gnuradio-examples/c++/dial_tone/dial_tone.cc
===================================================================
--- gnuradio/trunk/gnuradio-examples/c++/dial_tone/dial_tone.cc 2008-08-06
00:00:58 UTC (rev 9174)
+++ gnuradio/trunk/gnuradio-examples/c++/dial_tone/dial_tone.cc 2008-08-06
00:15:04 UTC (rev 9175)
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9175 - gnuradio/trunk/gnuradio-examples/c++/dial_tone,
jcoy <=