From 67cdac6db82c33f30601a50e1da9d86b6c163426 Mon Sep 17 00:00:00 2001 From: Micky Date: Fri, 25 Nov 2022 14:48:48 +0100 Subject: Remove `Array.find_last()` --- core/variant/array.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/variant/array.cpp') diff --git a/core/variant/array.cpp b/core/variant/array.cpp index c6bbd43dc4..6c4e8ba450 100644 --- a/core/variant/array.cpp +++ b/core/variant/array.cpp @@ -334,11 +334,6 @@ int Array::rfind(const Variant &p_value, int p_from) const { return -1; } -int Array::find_last(const Variant &p_value) const { - ERR_FAIL_COND_V(!_p->typed.validate(p_value, "find_last"), -1); - return rfind(p_value); -} - int Array::count(const Variant &p_value) const { ERR_FAIL_COND_V(!_p->typed.validate(p_value, "count"), 0); if (_p->array.size() == 0) { -- cgit v1.2.3