mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Assorted trivial cleanups (July 2019)
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
66a3c2968b
commit
7efc39d683
@@ -367,7 +367,7 @@ TBTable<WDL>::TBTable(const std::string& code) : TBTable() {
|
||||
hasPawns = pos.pieces(PAWN);
|
||||
|
||||
hasUniquePieces = false;
|
||||
for (Color c : {WHITE, BLACK})
|
||||
for (Color c : { WHITE, BLACK })
|
||||
for (PieceType pt = PAWN; pt < KING; ++pt)
|
||||
if (popcount(pos.pieces(c, pt)) == 1)
|
||||
hasUniquePieces = true;
|
||||
|
||||
Reference in New Issue
Block a user