Author: faridz
Date: Thu May 7 18:01:51 2009
New Revision: 772730
URL: http://svn.apache.org/viewvc?rev=772730&view=rev
Log:
2009-05-07 Farid Zaripov <[email protected]>
* include/rw/_tree.cc (erase): Fixed bug introduced in r731136.
Modified:
stdcxx/branches/4.2.x/include/rw/_tree.cc
Modified: stdcxx/branches/4.2.x/include/rw/_tree.cc
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_tree.cc?rev=772730&r1=772729&r2=772730&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_tree.cc (original)
+++ stdcxx/branches/4.2.x/include/rw/_tree.cc Thu May 7 18:01:51 2009
@@ -846,8 +846,8 @@
// return end()
__tmp = end ();
} else
- for (__tmp = end (); !(__first == __last); __tmp = erase (__first))
- ++__first;
+ for (__tmp = end (); !(__first == __last); )
+ __tmp = erase (__first++);
return __tmp;
}