commit ba2d0fd68f433b6029994eda7426a7fd27263c7e
parent 15dc07df9deab1ed2162bc5acc0a889f83f36891
Author: [email protected] <[email protected]>
Date: Fri, 7 Dec 2018 06:44:59 +0000
Fix resampling building
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/include/kfr/cometa.hpp b/include/kfr/cometa.hpp
@@ -855,17 +855,6 @@ constexpr inline T lcm(T a, T b, T c, Ts... rest)
return lcm(a, lcm(b, c, rest...));
}
-inline std::div_t floor_div(int a, int b)
-{
- std::div_t d = std::div(a, b);
- if (d.rem < 0)
- {
- d.rem += b;
- --d.quot;
- }
- return d;
-}
-
inline std::lldiv_t floor_div(long long a, long long b)
{
std::lldiv_t d = std::lldiv(a, b);