Merge pull request #39089 from mrushyendra/localVectorBug
Fix unsigned integer bug in LocalVector::erase
This commit is contained in:
commit
52814d111c
|
@ -75,7 +75,7 @@ public:
|
|||
}
|
||||
|
||||
void erase(const T &p_val) {
|
||||
U idx = find(p_val);
|
||||
int64_t idx = find(p_val);
|
||||
if (idx >= 0) {
|
||||
remove(idx);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue