Small cleanups.

closes https://github.com/official-stockfish/Stockfish/pull/2532

Bench: 4869669
This commit is contained in:
Joost VandeVondele
2020-02-05 15:18:24 +01:00
parent ddd4224640
commit 0c878adb36
11 changed files with 22 additions and 27 deletions

View File

@@ -52,7 +52,6 @@ namespace {
template<Color Us, GenType Type>
ExtMove* generate_pawn_moves(const Position& pos, ExtMove* moveList, Bitboard target) {
// Compute some compile time parameters relative to the white side
constexpr Color Them = (Us == WHITE ? BLACK : WHITE);
constexpr Bitboard TRank7BB = (Us == WHITE ? Rank7BB : Rank2BB);
constexpr Bitboard TRank3BB = (Us == WHITE ? Rank3BB : Rank6BB);