summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_sink_16sc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-usrp2/src/usrp2_sink_16sc.cc')
-rw-r--r--gr-usrp2/src/usrp2_sink_16sc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-usrp2/src/usrp2_sink_16sc.cc b/gr-usrp2/src/usrp2_sink_16sc.cc
index 9b3977b30..deb61bb72 100644
--- a/gr-usrp2/src/usrp2_sink_16sc.cc
+++ b/gr-usrp2/src/usrp2_sink_16sc.cc
@@ -33,7 +33,7 @@ usrp2_sink_16sc_sptr
usrp2_make_sink_16sc(const std::string &ifc, const std::string &mac_addr)
throw (std::runtime_error)
{
- return usrp2_sink_16sc_sptr(new usrp2_sink_16sc(ifc, mac_addr));
+ return gnuradio::get_initial_sptr(new usrp2_sink_16sc(ifc, mac_addr));
}
usrp2_sink_16sc::usrp2_sink_16sc(const std::string &ifc, const std::string &mac_addr)