summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-10-20 17:45:13 -0700
committerJosh Gao <jmgao@google.com>2017-10-20 17:47:29 -0700
commit27242c642eac64d4d47a1899af341170c9456d79 (patch)
tree8c60543178f3b463555b2e42638a3d5cc9da0d87 /libc/stdio/stdio.cpp
parent8f348a0cce048fc929b4ce0b850147cd7c737497 (diff)
Actually correctly call vector::erase after remove_if.
vector::erase(iterator) erases the element that that iterator points to, vector::erase(iterator a, iterator b) erases the range [a, b), with a == b being a no-op. Test: LD_PRELOAD=libc.so sh Change-Id: I6a85c1cfaa8eb67756cb75d421f332d5c9a43a33
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions