summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/rfnoc_rx_streamer_impl.cc')
-rw-r--r--gr-uhd/lib/rfnoc_rx_streamer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/rfnoc_rx_streamer_impl.cc b/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
index ee7e854cde..cb85d347db 100644
--- a/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
+++ b/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
@@ -33,8 +33,8 @@ rfnoc_rx_streamer::sptr rfnoc_rx_streamer::make(rfnoc_graph::sptr graph,
const size_t vlen,
const bool issue_stream_cmd_on_start)
{
- return gnuradio::get_initial_sptr(new rfnoc_rx_streamer_impl(
- graph, num_chans, stream_args, vlen, issue_stream_cmd_on_start));
+ return gnuradio::make_block_sptr<rfnoc_rx_streamer_impl>(
+ graph, num_chans, stream_args, vlen, issue_stream_cmd_on_start);
}