Chromium Code Reviews
DescriptionMake STLDeleteValues delete behind the iterator.
Make STLDeleteValues do like STLDeleteElements and increment the
iterator before deleting the value. This protects against modifications
to the container that may invalidate the current iterator.
STLDeleteContainerPairSecondPointers already provides this ability.
Committed: https://crrev.com/c2af413b751be6f483351ec9dfb4b36e2b21e40e
Cr-Commit-Position: refs/heads/master@{#321271}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||