Fixing cppcheck "Prefer prefix ++/-- operators for non-primitive types." issues.
This commit is contained in:
@@ -107,7 +107,7 @@ ClientBoard::collectSets()
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
sets = 0;
|
||||
PlayerListConstIterator it_c;
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); it_c++)
|
||||
for (it_c=seatsList->begin(); it_c!=seatsList->end(); ++it_c)
|
||||
sets += (*it_c)->getMySet();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user