From 3d726342ff5f0eef8c82496c0d0df771c715cfd0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 28 Jan 2019 14:54:54 +0100 Subject: b200: Use uhd::noncopyable This removes the usage of boost::noncopyable in some places and serves as a reference for how to do that. --- host/lib/usrp/b200/b200_cores.hpp | 4 +++- host/lib/usrp/b200/b200_uart.hpp | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'host/lib/usrp/b200') diff --git a/host/lib/usrp/b200/b200_cores.hpp b/host/lib/usrp/b200/b200_cores.hpp index 4d327f8f6..7b5484831 100644 --- a/host/lib/usrp/b200/b200_cores.hpp +++ b/host/lib/usrp/b200/b200_cores.hpp @@ -1,6 +1,7 @@ // // Copyright 2013-2014 Ettus Research LLC // Copyright 2018 Ettus Research, a National Instruments Company +// Copyright 2019 Ettus Research, a National Instruments Brand // // SPDX-License-Identifier: GPL-3.0-or-later // @@ -8,11 +9,12 @@ #ifndef INCLUDED_B200_CORES_HPP #define INCLUDED_B200_CORES_HPP +#include #include #include #include -class b200_local_spi_core : boost::noncopyable, public uhd::spi_iface { +class b200_local_spi_core : uhd::noncopyable, public uhd::spi_iface { public: typedef boost::shared_ptr sptr; diff --git a/host/lib/usrp/b200/b200_uart.hpp b/host/lib/usrp/b200/b200_uart.hpp index 980b6a918..25dc1171e 100644 --- a/host/lib/usrp/b200/b200_uart.hpp +++ b/host/lib/usrp/b200/b200_uart.hpp @@ -1,6 +1,7 @@ // // Copyright 2013 Ettus Research LLC // Copyright 2018 Ettus Research, a National Instruments Company +// Copyright 2019 Ettus Research, a National Instruments Brand // // SPDX-License-Identifier: GPL-3.0-or-later // @@ -10,10 +11,10 @@ #include #include //uart iface +#include #include -#include -class b200_uart: boost::noncopyable, public uhd::uart_iface +class b200_uart: uhd::noncopyable, public uhd::uart_iface { public: typedef boost::shared_ptr sptr; -- cgit v1.2.3