summaryrefslogtreecommitdiffstats
path: root/core/math/expression.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-01-08 22:36:19 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-14 11:20:36 -0300
commita8bc9f3e78788bdf0be7348fcbfac15c127f1f48 (patch)
treecb6029160994d6445123f01ffe142e3e3ff6f96a /core/math/expression.h
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-a8bc9f3e78788bdf0be7348fcbfac15c127f1f48.tar.gz
Add const lvalue ref to core/* container parameters
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 175db4e25e..c6ad1bd634 100644
--- a/core/math/expression.h
+++ b/core/math/expression.h
@@ -264,7 +264,7 @@ protected:
public:
Error parse(const String &p_expression, const Vector<String> &p_input_names = Vector<String>());
- Variant execute(Array p_inputs = Array(), Object *p_base = nullptr, bool p_show_error = true, bool p_const_calls_only = false);
+ Variant execute(const Array &p_inputs = Array(), Object *p_base = nullptr, bool p_show_error = true, bool p_const_calls_only = false);
bool has_execute_failed() const;
String get_error_text() const;