summaryrefslogtreecommitdiff
path: root/gr-digital/lib/symbol_sync_cc_impl.cc
diff options
context:
space:
mode:
authorjapm48 <japm48@users.noreply.github.com>2020-04-10 23:35:30 +0200
committerMarcus Müller <marcus@hostalia.de>2020-04-11 02:47:13 +0200
commit2c767bb260a25b415e8c9c4b3ea37280b2127cec (patch)
tree911eefff59b6f791f814c341b8b923b7ff2e19fc /gr-digital/lib/symbol_sync_cc_impl.cc
parent60144c3e2fc6e36a9a1a6ebefbbebe41adc79c2c (diff)
boost: remove deprecated math/common_factor.hpp
Remove deprecation warning and prefer using std::{lcm,gcd} to Boost. Fixes #2712.
Diffstat (limited to 'gr-digital/lib/symbol_sync_cc_impl.cc')
-rw-r--r--gr-digital/lib/symbol_sync_cc_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/lib/symbol_sync_cc_impl.cc b/gr-digital/lib/symbol_sync_cc_impl.cc
index 55f85e7c6a..55f162dc72 100644
--- a/gr-digital/lib/symbol_sync_cc_impl.cc
+++ b/gr-digital/lib/symbol_sync_cc_impl.cc
@@ -13,9 +13,9 @@
#endif
#include "symbol_sync_cc_impl.h"
+#include <gnuradio/integer_math.h>
#include <gnuradio/io_signature.h>
#include <gnuradio/math.h>
-#include <boost/math/common_factor.hpp>
#include <stdexcept>
namespace gr {
@@ -95,7 +95,7 @@ symbol_sync_cc_impl::symbol_sync_cc_impl(enum ted_type detector_type,
throw std::runtime_error("unable to create interpolating_resampler_ccf");
// Block Internal Clocks
- d_interps_per_symbol_n = boost::math::lcm(d_ted->inputs_per_symbol(), d_osps_n);
+ d_interps_per_symbol_n = GR_LCM(d_ted->inputs_per_symbol(), d_osps_n);
d_interps_per_ted_input_n = d_interps_per_symbol_n / d_ted->inputs_per_symbol();
d_interps_per_output_sample_n = d_interps_per_symbol_n / d_osps_n;