debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix pasto, advance __iter only once per iteration.
2006-10-29 Paolo Carlini <pcarlini@suse.de> * src/debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix pasto, advance __iter only once per iteration. From-SVN: r118159
This commit is contained in:
parent
c159ffe706
commit
cd07aa11f9
@ -1,3 +1,8 @@
|
||||
2006-10-29 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* src/debug.cc (_Safe_sequence_base::_M_revalidate_singular): Fix
|
||||
pasto, advance __iter only once per iteration.
|
||||
|
||||
2006-10-29 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/29520
|
||||
|
@ -146,23 +146,18 @@ namespace __gnu_debug
|
||||
__old->_M_attach(0, true);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
void
|
||||
_Safe_sequence_base::
|
||||
_M_revalidate_singular()
|
||||
{
|
||||
_Safe_iterator_base* __iter;
|
||||
for (__iter = _M_iterators; __iter; __iter = __iter->_M_next)
|
||||
{
|
||||
__iter->_M_version = _M_version;
|
||||
__iter = __iter->_M_next;
|
||||
}
|
||||
|
||||
for (__iter = _M_const_iterators; __iter; __iter = __iter->_M_next)
|
||||
{
|
||||
__iter->_M_version = _M_version;
|
||||
__iter = __iter->_M_next;
|
||||
}
|
||||
for (_Safe_iterator_base* __iter = _M_iterators; __iter;
|
||||
__iter = __iter->_M_next)
|
||||
__iter->_M_version = _M_version;
|
||||
|
||||
for (_Safe_iterator_base* __iter2 = _M_const_iterators; __iter2;
|
||||
__iter2 = __iter2->_M_next)
|
||||
__iter2->_M_version = _M_version;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user