X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=2c94f42af9c32da7de2837d785da10de75e71f7e;hp=9ed72393bfc4f6a595a93e467f6cb235d66ce956;hb=69f4954df1de3ed264212a6e871986781d717e08;hpb=4894231ff71b4132ce77cac7e01dc708bc93f426 diff --git a/src/position.h b/src/position.h index 9ed72393..2c94f42a 100644 --- a/src/position.h +++ b/src/position.h @@ -133,8 +133,8 @@ public: Square castle_rook_square(CastleRight f) const; // Bitboards for pinned pieces and discovered check candidates - Bitboard discovered_check_candidates(Color c) const; - Bitboard pinned_pieces(Color c) const; + Bitboard discovered_check_candidates() const; + Bitboard pinned_pieces() const; // Checking pieces and under check information Bitboard checkers() const; @@ -230,7 +230,7 @@ private: void undo_castle_move(Move m); template - Bitboard hidden_checkers(Color c) const; + Bitboard hidden_checkers() const; // Computing hash keys from scratch (for initialization and debugging) Key compute_key() const;