diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-15 10:31:48 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-02-15 10:34:37 -0800 |
commit | 9bc6fbe685579d505e8352e1de5e118a5a3ea163 (patch) | |
tree | 5a256e83bf339ee76e50fbfa8a16d52cbc7efd64 /host/include | |
parent | 9f3ecefbc595f4386a652b4bed4a4bb0bc139e0b (diff) | |
download | uhd-9bc6fbe685579d505e8352e1de5e118a5a3ea163.tar.gz uhd-9bc6fbe685579d505e8352e1de5e118a5a3ea163.tar.bz2 uhd-9bc6fbe685579d505e8352e1de5e118a5a3ea163.zip |
uhd: reusable buffers for libusb zero copy implementation
tweaks on udp implementation to simplify
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/zero_copy.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/transport/zero_copy.hpp b/host/include/uhd/transport/zero_copy.hpp index d5a536b27..18eb3fb6d 100644 --- a/host/include/uhd/transport/zero_copy.hpp +++ b/host/include/uhd/transport/zero_copy.hpp @@ -30,7 +30,7 @@ namespace uhd{ namespace transport{ * Contains a reference to transport-managed memory, * and a method to release the memory after reading. */ - class UHD_API managed_recv_buffer : boost::noncopyable{ + class UHD_API managed_recv_buffer{ public: typedef boost::shared_ptr<managed_recv_buffer> sptr; typedef boost::function<void(void)> release_fcn_t; @@ -81,7 +81,7 @@ namespace uhd{ namespace transport{ * Contains a reference to transport-managed memory, * and a method to commit the memory after writing. */ - class UHD_API managed_send_buffer : boost::noncopyable{ + class UHD_API managed_send_buffer{ public: typedef boost::shared_ptr<managed_send_buffer> sptr; typedef boost::function<void(size_t)> commit_fcn_t; |