summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/top_block.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/top_block.cc')
-rw-r--r--gnuradio-runtime/lib/top_block.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/top_block.cc b/gnuradio-runtime/lib/top_block.cc
index aad25f005a..c7e0ee74ce 100644
--- a/gnuradio-runtime/lib/top_block.cc
+++ b/gnuradio-runtime/lib/top_block.cc
@@ -24,7 +24,7 @@
namespace gr {
top_block_sptr make_top_block(const std::string& name, bool catch_exceptions)
{
- return gnuradio::get_initial_sptr(new top_block(name, catch_exceptions));
+ return gnuradio::make_block_sptr<top_block>(name, catch_exceptions);
}
top_block::top_block(const std::string& name, bool catch_exceptions)