diff options
Diffstat (limited to 'gr-blocks/lib/socket_pdu_impl.cc')
-rw-r--r-- | gr-blocks/lib/socket_pdu_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/socket_pdu_impl.cc b/gr-blocks/lib/socket_pdu_impl.cc index bdbe1eb2d2..60c1a90b38 100644 --- a/gr-blocks/lib/socket_pdu_impl.cc +++ b/gr-blocks/lib/socket_pdu_impl.cc @@ -26,8 +26,8 @@ socket_pdu::sptr socket_pdu::make(std::string type, int MTU /*= 10000*/, bool tcp_no_delay /*= false*/) { - return gnuradio::get_initial_sptr( - new socket_pdu_impl(type, addr, port, MTU, tcp_no_delay)); + return gnuradio::make_block_sptr<socket_pdu_impl>( + type, addr, port, MTU, tcp_no_delay); } socket_pdu_impl::socket_pdu_impl(std::string type, |