]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Retire MovePickerExt struct
[stockfish] / src / movepick.h
index 03305ebdd8eab7cf02ce27fbdb56af2c22ada3e2..6b5d89c093ff690e7fb41c60dfc7ad6774fe5cb2 100644 (file)
@@ -41,7 +41,7 @@ public:
   MovePicker(const Position&, Move, Depth, const History&, Search::Stack*, Value);
   MovePicker(const Position&, Move, Depth, const History&, Square);
   MovePicker(const Position&, Move, const History&, PieceType);
-  Move next_move();
+  template<bool SpNode> Move next_move();
 
 private:
   void score_captures();
@@ -51,6 +51,7 @@ private:
 
   const Position& pos;
   const History& H;
+  Search::Stack* ss;
   Depth depth;
   Move ttMove;
   MoveStack killers[2];