mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +00:00
Retire last usage of operator|(File f, Rank r)
This for some reason was missed. No functional change.
This commit is contained in:
parent
ffdf63ff7c
commit
bc183b0c04
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ const std::string Bitboards::pretty(Bitboard b) {
|
||||||
for (Rank rank = RANK_8; rank >= RANK_1; --rank)
|
for (Rank rank = RANK_8; rank >= RANK_1; --rank)
|
||||||
{
|
{
|
||||||
for (File file = FILE_A; file <= FILE_H; ++file)
|
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");
|
s.append("|\n+---+---+---+---+---+---+---+---+\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue