mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Fix a few minor code style inconsistencies
No functional change.
This commit is contained in:
committed by
Stéphane Nicolet
parent
bd59560480
commit
ed26d71354
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user