mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
remove incorrect move in execute_with_workers
This commit is contained in:
+1
-1
@@ -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