diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-01-29 17:21:17 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-02-15 11:12:54 -0800 |
commit | 52138314a4daa8140b4dabca5ca4a9ffc6a8ff84 (patch) | |
tree | 6f3f81880da4e6a0efa05908662ad6d4fdefd239 /host/lib/include/uhdlib/transport | |
parent | 5758533839a411906f70e29975a9e9ad2926fe89 (diff) | |
download | uhd-52138314a4daa8140b4dabca5ca4a9ffc6a8ff84.tar.gz uhd-52138314a4daa8140b4dabca5ca4a9ffc6a8ff84.tar.bz2 uhd-52138314a4daa8140b4dabca5ca4a9ffc6a8ff84.zip |
uhd: Replace all usage of boost::noncopyable with uhd::noncopyable
This fixes the build errors that occur due to switching locations of
noncopyable.hpp within Boost, and also allows us to remove
boost::noncopyable in one fell swoop.
Diffstat (limited to 'host/lib/include/uhdlib/transport')
-rw-r--r-- | host/lib/include/uhdlib/transport/dpdk_common.hpp | 3 | ||||
-rw-r--r-- | host/lib/include/uhdlib/transport/dpdk_simple.hpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/transport/dpdk_common.hpp b/host/lib/include/uhdlib/transport/dpdk_common.hpp index 2f320e79e..0db51e80f 100644 --- a/host/lib/include/uhdlib/transport/dpdk_common.hpp +++ b/host/lib/include/uhdlib/transport/dpdk_common.hpp @@ -10,6 +10,7 @@ #include <uhd/config.hpp> #include <uhd/types/device_addr.hpp> #include <uhd/utils/static.hpp> +#include <uhd/utils/noncopyable.hpp> #include <array> #include <atomic> #include <mutex> @@ -17,7 +18,7 @@ namespace uhd { namespace transport { -class uhd_dpdk_ctx : boost::noncopyable { +class uhd_dpdk_ctx : uhd::noncopyable { public: UHD_SINGLETON_FCN(uhd_dpdk_ctx, get); diff --git a/host/lib/include/uhdlib/transport/dpdk_simple.hpp b/host/lib/include/uhdlib/transport/dpdk_simple.hpp index 62728b38d..51618b5e7 100644 --- a/host/lib/include/uhdlib/transport/dpdk_simple.hpp +++ b/host/lib/include/uhdlib/transport/dpdk_simple.hpp @@ -7,11 +7,12 @@ #ifndef INCLUDED_DPDK_SIMPLE_HPP #define INCLUDED_DPDK_SIMPLE_HPP +#include <uhd/utils/noncopyable.hpp> #include <uhdlib/transport/dpdk_common.hpp> namespace uhd { namespace transport { -class dpdk_simple : boost::noncopyable +class dpdk_simple : uhd::noncopyable { public: typedef boost::shared_ptr<dpdk_simple> sptr; |