changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-10-24 22:07:26 +00:00
parent 880efee332
commit d547cb6fdb
82 changed files with 717 additions and 718 deletions

View file

@ -46,7 +46,7 @@ void RsTickEvent::tick_events()
{
std::multimap<time_t, uint32_t>::iterator it;
for(it = mEvents.begin(); it != mEvents.end(); it++)
for(it = mEvents.begin(); it != mEvents.end(); ++it)
{
std::cerr << "\tEvent type: ";
std::cerr << it->second << " in " << it->first - now << " secs";
@ -84,7 +84,7 @@ void RsTickEvent::tick_events()
}
}
for(it = toProcess.begin(); it != toProcess.end(); it++)
for(it = toProcess.begin(); it != toProcess.end(); ++it)
{
#ifdef DEBUG_EVENTS
std::cerr << "RsTickEvent::tick_events() calling handle_event(";