mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Retire undo_null_move()
Use a templetized do_null_move() to do/undo the null move. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user