From 52138314a4daa8140b4dabca5ca4a9ffc6a8ff84 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 29 Jan 2019 17:21:17 +0100 Subject: 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. --- host/lib/include/uhdlib/transport/dpdk_common.hpp | 3 ++- host/lib/include/uhdlib/transport/dpdk_simple.hpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'host/lib/include/uhdlib/transport') 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 #include #include +#include #include #include #include @@ -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 #include namespace uhd { namespace transport { -class dpdk_simple : boost::noncopyable +class dpdk_simple : uhd::noncopyable { public: typedef boost::shared_ptr sptr; -- cgit v1.2.3