Use pre-increment on iterators

This commit is contained in:
Paul Cornett 2019-02-25 09:20:44 -08:00
parent b5028f267d
commit 8df0cfba2a
2 changed files with 4 additions and 4 deletions

View File

@ -844,7 +844,7 @@ wxDateTime::ParseRfc822Date(const wxString& date, wxString::const_iterator *end)
wxDateTime_t sec = 0;
if ( *p == ':' )
{
p++;
++p;
if ( !wxIsdigit(*p) )
return false;
@ -1033,7 +1033,7 @@ wxDateTime::ParseFormat(const wxString& date,
// spaces in the input
while ( input != end && wxIsspace(*input) )
{
input++;
++input;
}
}
else // !space
@ -1772,7 +1772,7 @@ wxDateTime::ParseDate(const wxString& date, wxString::const_iterator *end)
wxString::const_iterator p = pBegin;
while ( p != pEnd && wxIsspace(*p) )
p++;
++p;
// some special cases
static struct

View File

@ -93,7 +93,7 @@ void wxQtDCImpl::QtPreparePainter( )
m_qtPainter->setClipRect( r.x, r.y, r.width, r.height,
append ? Qt::IntersectClip : Qt::ReplaceClip );
append = true;
ri++;
++ri;
}
}
}