stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r772730 - /stdcxx/branches/4.2.x/include/rw/_tree.cc
Date Thu, 07 May 2009 18:01:51 GMT
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  <faridz@apache.org>

	* 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;
 }



Mime
View raw message