From d361f57c8064ce13a0478653050b169dc94e2e99 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jan 2018 19:35:08 +0100 Subject: compat/util: retire Adjust usages. --- spline/spline.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'spline/spline.cpp') diff --git a/spline/spline.cpp b/spline/spline.cpp index b6fdd9c5..823fd64f 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -7,6 +7,7 @@ */ #include "spline.hpp" +#include "compat/math.hpp" #include #include @@ -105,12 +106,6 @@ warn_result_unused bool spline::get_last_value(QPointF& point) return activep; } -template -static T signum(T val) -{ - return (T(0) < val) - (val < T(0)); -} - float spline::get_value_internal(int x) { if (!validp) -- cgit v1.2.3