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