summaryrefslogtreecommitdiffstats
path: root/core/object/script_language_extension.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2021-08-01 16:47:20 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-01-05 14:49:57 -0300
commit96a95cb9743e755f10fa6a14895ea099e5ac4c51 (patch)
tree8ccdf0cc23500519680490cc6b2078889117f904 /core/object/script_language_extension.h
parent89cc635c0554cb2e518c830969ca4c5eedda0f4e (diff)
downloadredot-engine-96a95cb9743e755f10fa6a14895ea099e5ac4c51.tar.gz
Add const lvalue ref to container parameters
Diffstat (limited to 'core/object/script_language_extension.h')
-rw-r--r--core/object/script_language_extension.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h
index 852b2aebd8..8b01667519 100644
--- a/core/object/script_language_extension.h
+++ b/core/object/script_language_extension.h
@@ -265,7 +265,7 @@ public:
GDVIRTUAL1RC(TypedArray<Dictionary>, _get_built_in_templates, StringName)
- virtual Vector<ScriptTemplate> get_built_in_templates(StringName p_object) override {
+ virtual Vector<ScriptTemplate> get_built_in_templates(const StringName &p_object) override {
TypedArray<Dictionary> ret;
GDVIRTUAL_REQUIRED_CALL(_get_built_in_templates, p_object, ret);
Vector<ScriptTemplate> stret;