projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdf63f
)
Retire last usage of operator|(File f, Rank r)
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 23 Mar 2014 09:42:37 +0000
(10:42 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 23 Mar 2014 09:42:37 +0000
(10:42 +0100)
This for some reason was missed.
No functional change.
src/bitboard.cpp
patch
|
blob
|
history
diff --git
a/src/bitboard.cpp
b/src/bitboard.cpp
index 6df2efe55b801a2a36743e410e117933b0bf59aa..d4b8bcfdf2cabb53d59e20ff8a055688db6a54a8 100644
(file)
--- a/
src/bitboard.cpp
+++ b/
src/bitboard.cpp
@@
-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");
}