mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Retire last usage of operator|(File f, Rank r)
This for some reason was missed. No functional change.
This commit is contained in:
@@ -134,7 +134,7 @@ const std::string Bitboards::pretty(Bitboard b) {
|
||||
for (Rank rank = RANK_8; rank >= RANK_1; --rank)
|
||||
{
|
||||
for (File file = FILE_A; file <= FILE_H; ++file)
|
||||
s.append(b & (file | rank) ? "| X " : "| ");
|
||||
s.append(b & make_square(file, rank) ? "| X " : "| ");
|
||||
|
||||
s.append("|\n+---+---+---+---+---+---+---+---+\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user