From 96a19dc03fe465f101853e1de9369780445f1724 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Sat, 28 Sep 2019 12:59:37 +0200 Subject: nirio_fifo: Replace boost::atomic with std::atomic This is the only occurrence of boost::atomic in UHD. --- host/include/uhd/transport/nirio/nirio_fifo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/host/include/uhd/transport/nirio/nirio_fifo.h b/host/include/uhd/transport/nirio/nirio_fifo.h index 5f707e637..317ca777d 100644 --- a/host/include/uhd/transport/nirio/nirio_fifo.h +++ b/host/include/uhd/transport/nirio/nirio_fifo.h @@ -1,6 +1,7 @@ // // Copyright 2013-2015 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 // @@ -15,7 +16,7 @@ #include #include #include -#include +#include #include #include #include @@ -222,7 +223,7 @@ private: //Members data_t* _elements_buffer; size_t _actual_depth_in_elements; - boost::atomic _total_elements_acquired; + std::atomic _total_elements_acquired; size_t _frame_size_in_elements; fifo_optimization_option_t _fifo_optimization_option; -- cgit v1.2.3