mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
common/WorkQueue.cc: prefer prefix ++operator for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
ae9fdfd1ee
commit
7feec80318
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user