From 9bad5ee3c5bca89043e49756748f5e62c354fa1d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 23 Mar 2020 20:36:38 -0700 Subject: [PATCH] remove boost pow stuff for uClibc-ng It's available there. Signed-off-by: Rosen Penev --- src/ReplayGainGlobal.cxx | 2 +- src/ReplayGainInfo.cxx | 3 ++- src/util/Math.hxx | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ReplayGainGlobal.cxx b/src/ReplayGainGlobal.cxx index b5a8d1ae0..9bd8b3cc0 100644 --- a/src/ReplayGainGlobal.cxx +++ b/src/ReplayGainGlobal.cxx @@ -20,9 +20,9 @@ #include "ReplayGainGlobal.hxx" #include "ReplayGainConfig.hxx" #include "config/Data.hxx" -#include "util/Math.hxx" #include +#include #include #include diff --git a/src/ReplayGainInfo.cxx b/src/ReplayGainInfo.cxx index de6ec0ab3..b989d552c 100644 --- a/src/ReplayGainInfo.cxx +++ b/src/ReplayGainInfo.cxx @@ -19,7 +19,8 @@ #include "ReplayGainInfo.hxx" #include "ReplayGainConfig.hxx" -#include "util/Math.hxx" + +#include float ReplayGainTuple::CalculateScale(const ReplayGainConfig &config) const noexcept diff --git a/src/util/Math.hxx b/src/util/Math.hxx index 2206b045f..e590f85c8 100644 --- a/src/util/Math.hxx +++ b/src/util/Math.hxx @@ -31,15 +31,12 @@ #define MATH_HXX #ifdef __UCLIBC__ -#include #include using boost::math::iround; -using boost::math::pow; using boost::math::lround; #define lrint iround #else #include -using std::pow; using std::lrint; using std::lround; #endif