summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 12:05:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 12:05:36 +0200
commit420a90d88a246bd7a971952ba19c259e25875c3d (patch)
tree088ae14b7786d79cfe4c5524fa98115ff06966db /qfunctionconfigurator
parent058f823f432484594a816b2489ea2edb2b56d5a4 (diff)
fix OSX build
Diffstat (limited to 'qfunctionconfigurator')
-rw-r--r--qfunctionconfigurator/functionconfig.cpp2
1 files changed, 1 insertions, 1 deletions
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)