From 2cdc070555e717c99a287b90d8b9ffbf9e69b6cd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 5 Oct 2014 21:38:08 +0200 Subject: nix cmath --- qfunctionconfigurator/functionconfig.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qfunctionconfigurator/functionconfig.cpp') diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index 6db3b55f..4c52b6eb 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -15,7 +15,6 @@ #include #include #include -#include #include void Map::setTrackingActive(bool blnActive) @@ -49,7 +48,7 @@ bool Map::getLastPoint(QPointF& point ) { float Map::getValueInternal(int x) { float sign = x < 0 ? -1 : 1; - x = fabs(x); + x = std::abs((double) x); float ret; int sz = data.size(); if (sz == 0) -- cgit v1.2.3