summaryrefslogtreecommitdiffstats
path: root/core/math/expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/expression.h')
-rw-r--r--core/math/expression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/expression.h b/core/math/expression.h
index c6ad1bd634..46bc3618df 100644
--- a/core/math/expression.h
+++ b/core/math/expression.h
@@ -243,7 +243,7 @@ private:
}
};
- template <class T>
+ template <typename T>
T *alloc_node() {
T *node = memnew(T);
node->next = nodes;