Correctly call vector::erase after std::remove_if.
std::remove_if moves removed elements to the end, without actually resizing the collection. To do so, you have to call erase on its returned iterator. Test: mma Change-Id: Iae7f2f194166408f2b101d0c1cfc95202d8bbe63
Loading
Please sign in to comment