summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)