]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Transform minKingPawnDistance into a local variable
[stockfish] / src / position.h
index 86acd20d0eb7a174b779147f8e992dce9ff4a7c5..14ce80996a85f8a65458131fe6de4b2f7997ba6e 100644 (file)
@@ -145,7 +145,7 @@ public:
 
   // Doing and undoing moves
   void do_move(Move m, StateInfo& st);
-  void do_move(Move m, StateInfo& st, const CheckInfo& ci, bool moveIsCheck);
+  void do_move(Move m, StateInfo& st, bool moveIsCheck);
   void undo_move(Move m);
   void do_null_move(StateInfo& st);
   void undo_null_move();
@@ -175,7 +175,7 @@ public:
   Value non_pawn_material(Color c) const;
 
   // Position consistency check, for debugging
-  bool pos_is_ok(int* step = nullptr) const;
+  bool pos_is_ok(int* step = NULL) const;
   void flip();
 
 private: