performance Prefer prefix ++/-- operators for non-primitive types.

Origin commit data
------------------
Commit: bb347b3a44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-28 (Sat, 28 Apr 2012)
This commit is contained in:
Jacek Jendrzej
2012-04-28 10:56:27 +02:00
parent c179cc8762
commit 04be37cf14
41 changed files with 117 additions and 117 deletions

View File

@@ -418,7 +418,7 @@ void CTimerList::updateEvents(void)
Timer->getTimerList (timerlist);
//Remove last deleted event from List
CTimerd::TimerList::iterator timer = timerlist.begin();
for (; timer != timerlist.end(); timer++)
for (; timer != timerlist.end(); ++timer)
{
if (timer->eventID==skipEventID)
{
@@ -1218,7 +1218,7 @@ bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
std::string timerbuf = g_Locale->getText(LOCALE_TIMERLIST_OVERLAPPING_TIMER);
timerbuf += "\n";
for (CTimerd::TimerList::iterator it = overlappingTimers.begin();
it != overlappingTimers.end(); it++)
it != overlappingTimers.end(); ++it)
{
timerbuf += CTimerList::convertTimerType2String(it->eventType);
timerbuf += " (";