]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Large API rename in ThreadsManager
[stockfish] / src / position.cpp
index 2172180cfb694783feddebd048e7546133475f98..657a4d581e13337985aad7ecef434c95eb286c57 100644 (file)
@@ -1048,8 +1048,8 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI
   }
 
   // Prefetch pawn and material hash tables
-  ThreadsMgr[threadID].pawnTable.prefetch(st->pawnKey);
-  ThreadsMgr[threadID].materialTable.prefetch(st->materialKey);
+  Threads[threadID].pawnTable.prefetch(st->pawnKey);
+  Threads[threadID].materialTable.prefetch(st->materialKey);
 
   // Update incremental scores
   st->value += pst_delta(piece, from, to);