X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;fp=src%2Fbitboard.h;h=f1db634f1bd058910ef32127bb9f6f956437dd9b;hp=37585bb19b18e8e25feb54120429b3177caa6da6;hb=a8e903c33a676decfcf5c721b6b4bfdb4102e5c0;hpb=090e49547ecaba8c9ec696d75f2fca3020bb058a diff --git a/src/bitboard.h b/src/bitboard.h index 37585bb1..f1db634f 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -136,7 +136,8 @@ constexpr bool more_than_one(Bitboard b) { } inline bool opposite_colors(Square s1, Square s2) { - return (bool(DarkSquares & s1) != bool(DarkSquares & s2)); + + return bool(DarkSquares & s1) != bool(DarkSquares & s2); } /// rank_bb() and file_bb() return a bitboard representing all the squares on