]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Unify undo_ep_move(m)
[stockfish] / src / position.h
index e48be111ec7dca3d7e055c0b892f6ec9f31e7fb6..9668368a1bd9e3169f0a90798e838408e4b1fee3 100644 (file)
@@ -310,13 +310,9 @@ private:
   void allow_ooo(Color c);
 
   // Helper functions for doing and undoing moves
-  void do_capture_move(PieceType capture, Color them, Square to);
+  void do_capture_move(PieceType capture, Color them, Square to, bool ep);
   void do_castle_move(Move m);
-  void do_promotion_move(Move m);
-  void do_ep_move(Move m);
   void undo_castle_move(Move m);
-  void undo_promotion_move(Move m);
-  void undo_ep_move(Move m);
   void find_checkers();
 
   template<PieceType Piece>