Rémi Verschelde f0e76377cb
LocalVector: Don't error if from >= count
Vector handles this silently by returning -1, and we should do the same here.
Otherwise we get errors when calling `find()` on e.g. a LocalVector of size 0,
while `find()` is expected to always work (if the parameters are invalid then
it doesn't find anything, so -1).

Fixup to #49925.

(cherry picked from commit 7b7ccf25b67ae6b28bb99b5d54f96cc299ec6b88)
2021-07-06 11:10:44 +02:00
..
2021-05-20 13:29:38 +03:00
2021-06-18 12:57:59 +01:00
2021-06-18 11:00:44 -04:00
2021-06-18 12:57:59 +01:00
2021-06-16 11:56:25 +01:00
2021-06-16 11:56:25 +01:00
2021-06-16 11:56:25 +01:00
2021-06-17 12:47:54 +02:00
2021-01-13 16:17:06 +01:00