Address clang-tidy warnings (#2010)

This commit is contained in:
Andrew Gaul
2022-07-29 22:00:07 +09:00
committed by GitHub
parent b8dd466988
commit 07535ec3ec
3 changed files with 5 additions and 10 deletions

View File

@ -216,7 +216,8 @@ bool ThreadPoolMan::StopThreads()
thread_list.clear();
// reset semaphore(to zero)
while(thpoolman_sem.try_wait());
while(thpoolman_sem.try_wait()){
}
// clear instructions
for(thpoolman_params_t::const_iterator iter = instruction_list.begin(); iter != instruction_list.end(); ++iter){