]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Fix compile on icc
[stockfish] / src / bitboard.h
index f6f1eba681e6d0030d0e8dccba75565bf9c82070..4aecf418a67b85db7510086cb39be5d47a28f2d1 100644 (file)
@@ -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.