From: Chris Elliott Date: Sun, 16 Sep 2007 17:51:52 +0000 (+0000) Subject: fix for VC6 sorry X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1cffe60012775e72f630a846b88c5b20e9fb9f26?ds=inline fix for VC6 sorry git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/vector.h b/include/wx/vector.h index 207c0dd9cf..8cb76a7ee6 100644 --- a/include/wx/vector.h +++ b/include/wx/vector.h @@ -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;