diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-08-09 08:50:06 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-08-09 08:50:06 -0300 |
commit | da1f1619fe65bb974bd8fd89345bef017be80d72 (patch) | |
tree | 832d04f7eb7e85ea3b7c56949b0c31b3bfbb7bf7 | |
parent | a71a5fc0c3f5d487d3f18c3b9e9a768052795e86 (diff) |
Fix clang compile error
-rw-r--r-- | core/math/expression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/expression.cpp b/core/math/expression.cpp index b92cde07ce..a161dbddba 100644 --- a/core/math/expression.cpp +++ b/core/math/expression.cpp @@ -2114,7 +2114,7 @@ String Expression::get_error_text() const { void Expression::_bind_methods() { ClassDB::bind_method(D_METHOD("parse", "expression", "input_names"), &Expression::parse, DEFVAL(Vector<String>())); - ClassDB::bind_method(D_METHOD("execute", "inputs", "base_instance", "show_error"), &Expression::execute, DEFVAL(Array()), DEFVAL(NULL), DEFVAL(true)); + ClassDB::bind_method(D_METHOD("execute", "inputs", "base_instance", "show_error"), &Expression::execute, DEFVAL(Array()), DEFVAL(Variant()), DEFVAL(true)); ClassDB::bind_method(D_METHOD("has_execute_failed"), &Expression::has_execute_failed); ClassDB::bind_method(D_METHOD("get_error_text"), &Expression::get_error_text); } |