]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Factor out Position::do_capture_move()
[stockfish] / src / position.h
index a47098a8d61d200284bf0ab6dc0632cc73871594..5910e439650680770a222e0ac8f2c1f5c6e9ebe2 100644 (file)
@@ -297,6 +297,7 @@ private:
   void allow_ooo(Color c);
 
   // Helper functions for doing and undoing moves
+  void do_capture_move(Move m, PieceType capture, Color them, Square to);
   void do_castle_move(Move m);
   void do_promotion_move(Move m, UndoInfo &u);
   void do_ep_move(Move m);