mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
remove incorrect move in execute_with_workers
This commit is contained in:
@@ -191,7 +191,7 @@ void ThreadPool::execute_with_workers(std::function<void(Thread&)> worker)
|
||||
{
|
||||
for(Thread* th : *this)
|
||||
{
|
||||
th->execute_with_worker(std::move(worker));
|
||||
th->execute_with_worker(worker);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user