]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Retire do_capture_move()
[stockfish] / src / position.h
index 4cfa34f643a0fb7356883d49df367f7e4ddb23f0..8af624ca78c3a8f27480c75b68a3b3eb36781d17 100644 (file)
@@ -166,8 +166,7 @@ public:
   void do_move(Move m, StateInfo& st);
   void do_move(Move m, StateInfo& st, const CheckInfo& ci, bool moveIsCheck);
   void undo_move(Move m);
-  void do_null_move(StateInfo& st);
-  void undo_null_move();
+  template<bool Do> void do_null_move(StateInfo& st);
 
   // Static exchange evaluation
   int see(Move m) const;
@@ -218,7 +217,6 @@ private:
   bool move_is_legal(const Move m) const;
 
   // Helper functions for doing and undoing moves
-  void do_capture_move(Key& key, PieceType capture, Color them, Square to, bool ep);
   template<bool Do> void do_castle_move(Move m);
 
   template<bool FindPinned>