X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=ceebce1c61c79e47683338ce7d913c6e8b1bb38c;hb=c45818e9f86fea63a6b46d0726cdcfe87516d01b;hp=8e2ecf6019b812eb5872e2f7db27d36d65ea2528;hpb=2c955f25de9d4c263b6e6d37fef06b378eec49a0;p=stockfish diff --git a/src/position.h b/src/position.h index 8e2ecf60..ceebce1c 100644 --- a/src/position.h +++ b/src/position.h @@ -215,7 +215,7 @@ public: template Bitboard piece_attacks_square(Square f, Square t) const; // Dispatch at compile-time - bool piece_attacks_square(Square f, Square t) const; // Dispatch at run-time + bool piece_attacks_square(Piece p, Square f, Square t) const; // Dispatch at run-time // Properties of moves bool pl_move_is_legal(Move m) const;