mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Small cleanups
https://github.com/official-stockfish/Stockfish/pull/2584 No functional change.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace {
|
||||
template<Color Us>
|
||||
int imbalance(const int pieceCount[][PIECE_TYPE_NB]) {
|
||||
|
||||
constexpr Color Them = (Us == WHITE ? BLACK : WHITE);
|
||||
constexpr Color Them = ~Us;
|
||||
|
||||
int bonus = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user