]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Transform minKingPawnDistance into a local variable
[stockfish] / src / search.h
index 32cd1bed0ea714ac114cea16e85c957f504bf124..5a0ad5df5790708e3a0e1d8d37f2926fcb3b668a 100644 (file)
@@ -60,7 +60,7 @@ struct RootMove {
   bool operator<(const RootMove& m) const { return score > m.score; } // Ascending sort
   bool operator==(const Move& m) const { return pv[0] == m; }
   void insert_pv_in_tt(Position& pos);
-  bool extract_ponder_from_tt(Position& pos);
+  Move extract_ponder_from_tt(Position& pos);
 
   Value score;
   Value previousScore;
@@ -96,7 +96,7 @@ struct SignalsType {
   bool stop, stopOnPonderhit, firstRootMove, failedLowAtRoot;
 };
 
-typedef std::unique_ptr<std::stack<StateInfo>> StateStackPtr;
+typedef std::auto_ptr<std::stack<StateInfo> > StateStackPtr;
 
 extern volatile SignalsType Signals;
 extern LimitsType Limits;