summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-usrp2/src/usrp2_sink_16sc.cc2
-rw-r--r--gr-usrp2/src/usrp2_sink_32fc.cc2
-rw-r--r--gr-usrp2/src/usrp2_source_16sc.cc2
-rw-r--r--gr-usrp2/src/usrp2_source_32fc.cc2
4 files changed, 4 insertions, 4 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)
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)
diff --git a/gr-usrp2/src/usrp2_source_16sc.cc b/gr-usrp2/src/usrp2_source_16sc.cc
index 96dd628b9..33114b51d 100644
--- a/gr-usrp2/src/usrp2_source_16sc.cc
+++ b/gr-usrp2/src/usrp2_source_16sc.cc
@@ -33,7 +33,7 @@ usrp2_source_16sc_sptr
usrp2_make_source_16sc(const std::string &ifc, const std::string &mac_addr)
throw (std::runtime_error)
{
- return usrp2_source_16sc_sptr(new usrp2_source_16sc(ifc, mac_addr));
+ return gnuradio::get_initial_sptr(new usrp2_source_16sc(ifc, mac_addr));
}
usrp2_source_16sc::usrp2_source_16sc(const std::string &ifc, const std::string &mac_addr)
diff --git a/gr-usrp2/src/usrp2_source_32fc.cc b/gr-usrp2/src/usrp2_source_32fc.cc
index f5a3c2f1e..89b4bea0e 100644
--- a/gr-usrp2/src/usrp2_source_32fc.cc
+++ b/gr-usrp2/src/usrp2_source_32fc.cc
@@ -33,7 +33,7 @@ usrp2_source_32fc_sptr
usrp2_make_source_32fc(const std::string &ifc, const std::string &mac_addr)
throw (std::runtime_error)
{
- return usrp2_source_32fc_sptr(new usrp2_source_32fc(ifc, mac_addr));
+ return gnuradio::get_initial_sptr(new usrp2_source_32fc(ifc, mac_addr));
}
usrp2_source_32fc::usrp2_source_32fc(const std::string &ifc, const std::string &mac_addr)