summaryrefslogtreecommitdiff
path: root/core/variant/array.h
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-08-28 21:18:39 +0200
committerGitHub <noreply@github.com>2021-08-28 21:18:39 +0200
commit04c64b59a12a0ea9a2dfa153c630693c7391827d (patch)
tree4aea8a02ee8d3ab0533a2b390b41f76e2354d648 /core/variant/array.h
parent5d2c4faa89fcd5f05c51c5ab791ced3f9ae91587 (diff)
parentc2d1c1c3ee0ef9175ac70271205723061331a242 (diff)
Merge pull request #47406 from mashumafi/master-Array-insert-rc
Array::insert consistent with Pool*Array::insert
Diffstat (limited to 'core/variant/array.h')
-rw-r--r--core/variant/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/array.h b/core/variant/array.h
index e9634ccece..4a1b25c4a9 100644
--- a/core/variant/array.h
+++ b/core/variant/array.h
@@ -72,7 +72,7 @@ public:
void append_array(const Array &p_array);
Error resize(int p_new_size);
- void insert(int p_pos, const Variant &p_value);
+ Error insert(int p_pos, const Variant &p_value);
void remove(int p_pos);
void fill(const Variant &p_value);