diff options
author | eb | 2008-09-24 17:04:46 +0000 |
---|---|---|
committer | eb | 2008-09-24 17:04:46 +0000 |
commit | 66a69ca3a92736aab9233ee4ac8295deaa1329f8 (patch) | |
tree | 4c2a7cd677bf978cbcca123e7c90dd482d986cfd /gr-usrp2/src | |
parent | d6f1a54c745709543a28a66dcb9631c3dad39171 (diff) | |
download | gnuradio-66a69ca3a92736aab9233ee4ac8295deaa1329f8.tar.gz gnuradio-66a69ca3a92736aab9233ee4ac8295deaa1329f8.tar.bz2 gnuradio-66a69ca3a92736aab9233ee4ac8295deaa1329f8.zip |
get initial sptr using new convention
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9653 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp2/src')
-rw-r--r-- | gr-usrp2/src/usrp2_sink_16sc.cc | 2 | ||||
-rw-r--r-- | gr-usrp2/src/usrp2_sink_32fc.cc | 2 | ||||
-rw-r--r-- | gr-usrp2/src/usrp2_source_16sc.cc | 2 | ||||
-rw-r--r-- | gr-usrp2/src/usrp2_source_32fc.cc | 2 |
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) |