X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=4aecf418a67b85db7510086cb39be5d47a28f2d1;hp=f6f1eba681e6d0030d0e8dccba75565bf9c82070;hb=3f1bc9e01301d617f530b05207c4067df92543f0;hpb=e8cc5c996818c7e128bd8db7947d1c4c43be865f diff --git a/src/bitboard.h b/src/bitboard.h index f6f1eba6..4aecf418 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -200,14 +200,6 @@ inline Bitboard passed_pawn_mask(Color c, Square s) { } -/// squares_of_color() returns a bitboard representing all the squares of the -/// same color of the given one. - -inline Bitboard squares_of_color(Square s) { - return DarkSquares & s ? DarkSquares : ~DarkSquares; -} - - /// aligned() returns true if the squares s1, s2 and s3 are aligned either on a /// straight or on a diagonal line.