]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Explicitly pass RootMoves to TB probes
[stockfish] / src / search.h
index 0c552d39f5058220350e233a0a155af8ad188296..71b4b8a86e383bee9d0df3cc272b7ffda048bc2c 100644 (file)
@@ -68,6 +68,7 @@ struct RootMove {
   std::vector<Move> pv;
 };
 
+typedef std::vector<RootMove> RootMoveVector;
 
 /// The LimitsType struct stores information sent by GUI about available time
 /// to search the current move, maximum depth/time, if we are in analysis mode
@@ -98,7 +99,7 @@ typedef std::auto_ptr<std::stack<StateInfo> > StateStackPtr;
 
 extern volatile SignalsType Signals;
 extern LimitsType Limits;
-extern std::vector<RootMove> RootMoves;
+extern RootMoveVector RootMoves;
 extern Position RootPos;
 extern Time::point SearchTime;
 extern StateStackPtr SetupStates;