Use pre-increment on iterators
This commit is contained in:
parent
b5028f267d
commit
8df0cfba2a
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user