[Core] Add `LocalVector::has` for convenience
parent
54fe2f9891
commit
505076c9a9
|
@ -257,6 +257,10 @@ public:
|
|||
return -1;
|
||||
}
|
||||
|
||||
bool has(const T &p_val) const {
|
||||
return find(p_val) != -1;
|
||||
}
|
||||
|
||||
template <typename C>
|
||||
void sort_custom() {
|
||||
U len = count;
|
||||
|
|
Loading…
Reference in New Issue