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;