From a8bc9f3e78788bdf0be7348fcbfac15c127f1f48 Mon Sep 17 00:00:00 2001 From: Muller-Castro <37383316+Muller-Castro@users.noreply.github.com> Date: Mon, 8 Jan 2024 22:36:19 -0300 Subject: Add const lvalue ref to core/* container parameters --- core/string/ustring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/string/ustring.cpp') diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index d094184c4b..67b0fdee20 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -1438,7 +1438,7 @@ Vector String::split_ints_mk(const Vector &p_splitters, bool p_allo return ret; } -String String::join(Vector parts) const { +String String::join(const Vector &parts) const { String ret; for (int i = 0; i < parts.size(); ++i) { if (i > 0) { -- cgit v1.2.3