]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r214736 from upstream libc++ trunk (by Marshall Clow):
authorDimitry Andric <dim@FreeBSD.org>
Fri, 8 Aug 2014 21:27:33 +0000 (21:27 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Fri, 8 Aug 2014 21:27:33 +0000 (21:27 +0000)
commitf48026fc6988487b7428fe43413c6157a09c90d9
tree04035b08e3575b23f3f7e23f31f4dccfc8afe461
parent6b6e7079b3ff3fbd7a5354a10a2c2d6d99831889
Pull in r214736 from upstream libc++ trunk (by Marshall Clow):

  Fix PR#20520 - predicate called too many times in list::remove_if.
  Add tests for list, forward_list, and the std::remove_if algorithm

This fixes an issue where std::list<>::remove_if() and remove() could
erroneously visit elements twice.

Reported by: Dominic Fandrey <kamikaze@bsdforen.de>
PR: 192303
MFC after: 3 days
contrib/libc++/include/list