summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-10-10 23:12:20 (GMT)
committerAleix Pol <aleixpol@kde.org>2016-10-10 23:12:20 (GMT)
commit30429a0968179ac0ebc8e53f195233baf2c88952 (patch)
treea3e72a2533d070c49b04d8c8db154fc1074ab3be
parent53e882de029a6e86dc3f2b778a62f8c029b74921 (diff)
Fix C99 warnings
-rw-r--r--analitza/abstractexpressiontransformer.cpp2
-rw-r--r--analitza/providederivative.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/analitza/abstractexpressiontransformer.cpp b/analitza/abstractexpressiontransformer.cpp
index b2f732f..5ffbdcb 100644
--- a/analitza/abstractexpressiontransformer.cpp
+++ b/analitza/abstractexpressiontransformer.cpp
@@ -41,7 +41,7 @@ Object* AbstractExpressionTransformer::walk##T(const T* pattern)\
return ret;\
}
-ITERATION_WALKER(List)
+ITERATION_WALKER(List, {})
ITERATION_WALKER(MatrixRow, pattern->size())
ITERATION_WALKER(Vector, pattern->size())
ITERATION_WALKER(Container, pattern->containerType())
diff --git a/analitza/providederivative.cpp b/analitza/providederivative.cpp
index 018994b..915fc32 100644
--- a/analitza/providederivative.cpp
+++ b/analitza/providederivative.cpp
@@ -110,7 +110,7 @@ Object* ProvideDerivative::derivateContent##T(const T * v)\
return ret;\
}
-ITERATE(List)
+ITERATE(List, {})
ITERATE(Vector, v->size())
Object* ProvideDerivative::derivativeApply(const Apply* c)