summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/rfnoc_tx_streamer_impl.cc')
-rw-r--r--gr-uhd/lib/rfnoc_tx_streamer_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/rfnoc_tx_streamer_impl.cc b/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
index 9a12a8b3f2..3dcc43ab3c 100644
--- a/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
+++ b/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
@@ -26,8 +26,8 @@ rfnoc_tx_streamer::sptr rfnoc_tx_streamer::make(rfnoc_graph::sptr graph,
const ::uhd::stream_args_t& stream_args,
const size_t vlen)
{
- return gnuradio::get_initial_sptr(
- new rfnoc_tx_streamer_impl(graph, num_chans, stream_args, vlen));
+ return gnuradio::make_block_sptr<rfnoc_tx_streamer_impl>(
+ graph, num_chans, stream_args, vlen);
}