From 692a588723ec77b62179b70e17eb157ef1b4ea31 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 31 Aug 2021 11:22:41 +0200 Subject: lib: Remove all remaining usage of boost::numeric::bounds<> Replaced by std::numeric_limits<>. --- host/lib/usrp/cores/dsp_core_utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp') diff --git a/host/lib/usrp/cores/dsp_core_utils.cpp b/host/lib/usrp/cores/dsp_core_utils.cpp index 2e99cde4d..84331fcec 100644 --- a/host/lib/usrp/cores/dsp_core_utils.cpp +++ b/host/lib/usrp/cores/dsp_core_utils.cpp @@ -10,9 +10,10 @@ #include #include #include +#include -static const int32_t MAX_FREQ_WORD = boost::numeric::bounds::highest(); -static const int32_t MIN_FREQ_WORD = boost::numeric::bounds::lowest(); +static const int32_t MAX_FREQ_WORD = std::numeric_limits::max(); +static const int32_t MIN_FREQ_WORD = std::numeric_limits::min(); void get_freq_and_freq_word(const double requested_freq, const double tick_rate, -- cgit v1.2.3