Skip to content
Commit e1265143 authored by Arnaud A. de Grandmaison's avatar Arnaud A. de Grandmaison
Browse files

PR19601: std::remove_if does not really remove the elements.

It moves them at the end of the range instead, so an extra erase is needed.

It is strange that this code works without the erase. On the other hand, removing the remove_if will make fail some tests.

llvm-svn: 207696
parent a1fbf345
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment