Codechange: Replaced SmallVector::ErasePreservingOrder(pos, count) with std::vector::erase()

This commit is contained in:
Henry Wilson
2018-09-24 20:24:40 +01:00
committed by PeterN
parent 9b5cc73f3e
commit b1f5119d3a
2 changed files with 1 additions and 12 deletions

View File

@@ -494,7 +494,7 @@ struct RefitWindow : public Window {
while (pos < l.size() && l[pos].subtype != refit_cyc) pos++;
if (pos < l.size() && l[pos].string != subtype) {
/* String mismatch, remove item keeping the order */
l.ErasePreservingOrder(pos);
l.erase(l.begin() + pos);
}
}
}