summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/time_sink_c_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/time_sink_c_impl.cc')
-rw-r--r--gr-qtgui/lib/time_sink_c_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc
index 31e583583c..bea9f4d123 100644
--- a/gr-qtgui/lib/time_sink_c_impl.cc
+++ b/gr-qtgui/lib/time_sink_c_impl.cc
@@ -33,8 +33,8 @@ time_sink_c::sptr time_sink_c::make(int size,
unsigned int nconnections,
QWidget* parent)
{
- return gnuradio::get_initial_sptr(
- new time_sink_c_impl(size, samp_rate, name, nconnections, parent));
+ return gnuradio::make_block_sptr<time_sink_c_impl>(
+ size, samp_rate, name, nconnections, parent);
}
time_sink_c_impl::time_sink_c_impl(int size,