From da1f1619fe65bb974bd8fd89345bef017be80d72 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Thu, 9 Aug 2018 08:50:06 -0300 Subject: [PATCH] Fix clang compile error --- core/math/expression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/math/expression.cpp b/core/math/expression.cpp index b92cde07ceb..a161dbddba4 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())); - 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); }