Merge pull request #39089 from mrushyendra/localVectorBug

Fix unsigned integer bug in LocalVector::erase
This commit is contained in:
Rémi Verschelde 2020-05-27 16:18:32 +02:00 committed by GitHub
commit 52814d111c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}