diff options
Diffstat (limited to 'core/array.h')
-rw-r--r-- | core/array.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/array.h b/core/array.h index d2e0537ad5..34367088e4 100644 --- a/core/array.h +++ b/core/array.h @@ -75,12 +75,12 @@ public: Variant front() const; Variant back() const; - Array &sort(); - Array &sort_custom(Object *p_obj, const StringName &p_function); + void sort(); + void sort_custom(Object *p_obj, const StringName &p_function); void shuffle(); int bsearch(const Variant &p_value, bool p_before = true); int bsearch_custom(const Variant &p_value, Object *p_obj, const StringName &p_function, bool p_before = true); - Array &invert(); + void invert(); int find(const Variant &p_value, int p_from = 0) const; int rfind(const Variant &p_value, int p_from = -1) const; |