1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +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:
Marco Costalba 2014-03-23 10:42:37 +01:00
parent ffdf63ff7c
commit bc183b0c04

View file

@ -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");
}