Fix a few minor code style inconsistencies

No functional change.
This commit is contained in:
DU-jdto
2018-03-21 01:26:12 +01:00
committed by Stéphane Nicolet
parent bd59560480
commit ed26d71354
4 changed files with 10 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ namespace {
template<CastlingRight Cr, bool Checks, bool Chess960>
ExtMove* generate_castling(const Position& pos, ExtMove* moveList, Color us) {
static constexpr bool KingSide = (Cr == WHITE_OO || Cr == BLACK_OO);
constexpr bool KingSide = (Cr == WHITE_OO || Cr == BLACK_OO);
if (pos.castling_impeded(Cr) || !pos.can_castle(Cr))
return moveList;