common/WorkQueue.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-03-13 18:09:30 +01:00
parent ae9fdfd1ee
commit 7feec80318

View File

@ -196,7 +196,7 @@ void ThreadPool::stop(bool clear_after)
_lock.Unlock();
for (set<WorkThread*>::iterator p = _threads.begin();
p != _threads.end();
p++) {
++p) {
(*p)->join();
delete *p;
}