X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=8b475dd9f6f36a4e85ad6c925afdf7aadeec3e91;hp=235cc8259ff05f83f3d035777453dacd9c04b325;hb=483c98a69e8c6836c655d92a150d70fbe780341f;hpb=2218a5836a48a764e9b57f5996520b48e0b3d236 diff --git a/src/position.h b/src/position.h index 235cc825..8b475dd9 100644 --- a/src/position.h +++ b/src/position.h @@ -191,8 +191,8 @@ private: void put_piece(Piece p, Square s); void set_castle_right(Color c, Square rfrom); - // Helper template functions - template void do_castle_move(Move m); + // Helper functions + void do_castle(Square kfrom, Square kto, Square rfrom, Square rto); template Bitboard hidden_checkers() const; // Computing hash keys from scratch (for initialization and debugging)