aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-02 15:21:56 -0700
committerJosh Blum <josh@joshknows.com>2010-06-02 15:21:56 -0700
commita4494bc2c985919aee7119ed401c72f41cde206e (patch)
treec1ff7ff39521e39f976f2f2318575561cc2742a2 /host/lib/usrp/usrp2/usrp2_impl.hpp
parent92fd3a514b6808e7b94f172c75afb2026b849fce (diff)
downloaduhd-a4494bc2c985919aee7119ed401c72f41cde206e.tar.gz
uhd-a4494bc2c985919aee7119ed401c72f41cde206e.tar.bz2
uhd-a4494bc2c985919aee7119ed401c72f41cde206e.zip
use smart pointer for io impl, simplify send buffer callback
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 4b6805217..bb4554e8d 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -153,9 +153,8 @@ private:
;
uhd::otw_type_t _rx_otw_type, _tx_otw_type;
- struct io_impl; io_impl *_io_impl;
+ struct io_impl; boost::shared_ptr<io_impl> _io_impl;
void io_init(void);
- void io_done(void);
//udp transports for control and data
uhd::transport::udp_zero_copy::sptr _data_transport;