Rename RootPosition and shuffle think()
[stockfish] / src / thread.cpp
index c9cce8d0c6c2240aea7b92234062d68c7361e63b..901a20b2bed1d67d1301aa8646d46fd2bdf50c80 100644 (file)
@@ -422,7 +422,7 @@ void ThreadPool::start_searching(const Position& pos, const LimitsType& limits,
   Signals.stopOnPonderhit = Signals.firstRootMove = false;
   Signals.stop = Signals.failedLowAtRoot = false;
 
-  RootPosition = pos;
+  RootPos = pos;
   Limits = limits;
   SetupStates = states; // Ownership transfer here
   RootMoves.clear();