]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for VC6 sorry
authorChris Elliott <biol75@york.ac.uk>
Sun, 16 Sep 2007 17:51:52 +0000 (17:51 +0000)
committerChris Elliott <biol75@york.ac.uk>
Sun, 16 Sep 2007 17:51:52 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/vector.h

index 207c0dd9cffd3a79c1487ad69194df9725608b74..8cb76a7ee66f9f04fe5b3272b31d1a99535111f8 100644 (file)
@@ -170,8 +170,8 @@ public:
             *(i - count) = *i;
 
         // erase items behind the new end of m_values:
-        for ( /* iterator */  i = end() - count; i < end(); ++i )
-            *i = value_type();
+        for ( iterator j = end() - count; j < end(); ++j )
+            *j = value_type();
 
         m_size -= count;