wxUSE_STL==1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,9 +142,9 @@ bool wxTextFile::OnRead(wxMBConv& conv)
|
||||
|
||||
|
||||
// the beginning of the current line, changes inside the loop
|
||||
const wxChar *lineStart = str.begin();
|
||||
const wxChar * const end = str.end();
|
||||
for ( const wxChar *p = lineStart; p != end; p++ )
|
||||
wxString::const_iterator lineStart = str.begin();
|
||||
const wxString::const_iterator end = str.end();
|
||||
for ( wxString::const_iterator p = lineStart; p != end; p++ )
|
||||
{
|
||||
const wxChar ch = *p;
|
||||
switch ( ch )
|
||||
|
Reference in New Issue
Block a user