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