From 420a90d88a246bd7a971952ba19c259e25875c3d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Jul 2015 12:05:36 +0200 Subject: fix OSX build --- qfunctionconfigurator/functionconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qfunctionconfigurator') diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp index dc50a4d1..b597a902 100644 --- a/qfunctionconfigurator/functionconfig.cpp +++ b/qfunctionconfigurator/functionconfig.cpp @@ -50,7 +50,7 @@ bool Map::getLastPoint(QPointF& point ) { Map::num Map::getValueInternal(int x) { num sign = x < 0 ? -1 : 1; - x = std::abs(x); + x = abs(x); num ret; int sz = cur.data.size(); if (sz == 0) -- cgit v1.2.3