Reset safe iterator state only if needed
François Dumont
frs.dumont@gmail.com
Thu Jun 7 05:45:00 GMT 2018
We reset safe iterator state a lot, quite annoying when debugging.
Comitted as trivial.
2018-06-07 François Dumont <fdumont@gcc.gnu.org>
   * src/c++11/debug.cc
   (_Safe_iterator_base::_M_detach()): Reset state only if needed.
   (_Safe_iterator_base::_M_detach_single()): Likewise.
   (_Safe_local_iterator_base::_M_detach()): Reset state only if needed.
   (_Safe_local_iterator_base::_M_detach_single()): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.patch
Type: text/x-patch
Size: 1177 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180607/18f1981b/attachment.bin>
More information about the Libstdc++
mailing list