summaryrefslogtreecommitdiff
path: root/core/variant/array.h
diff options
context:
space:
mode:
authormashumafi <mashumafi@gmail.com>2021-03-27 00:49:39 -0400
committermashumafi <mashumafi@gmail.com>2021-03-27 17:27:19 -0400
commitc2d1c1c3ee0ef9175ac70271205723061331a242 (patch)
tree0d9d3a957b018a9df176da8dc1939a9c3350bd2f /core/variant/array.h
parent5cdd4ee8bced19a5f7e74c6d3d693bbb39e27bd7 (diff)
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 d8f2402330..92f7b3079a 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);
Variant front() const;