]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Add thread_win32.h header
[stockfish] / src / search.cpp
index 681acb8141a0e1b5d7c8def9569ce28e8bb15ffc..3b35e3a061842f667b386d853e7e659529cf3238 100644 (file)
@@ -1636,7 +1636,7 @@ void Thread::idle_loop() {
       }
 
       // Avoid races with notify_one() fired from last slave of the split point
-      std::unique_lock<std::mutex> lk(mutex);
+      std::unique_lock<Mutex> lk(mutex);
 
       // If we are master and all slaves have finished then exit idle_loop
       if (this_sp && this_sp->slavesMask.none())