]> git.sesse.net Git - stockfish/blobdiff - src/movegen.cpp
Small trivial cleanups
[stockfish] / src / movegen.cpp
index d74df4c32cf847f9b7ee50c64e7a7da333ef9914..3340f65cf10479113d7228d2fbe461dde3e282f4 100644 (file)
@@ -248,7 +248,7 @@ namespace {
             *moveList++ = make_move(ksq, pop_lsb(&b));
 
         if ((Type != CAPTURES) && pos.can_castle(Us & ANY_CASTLING))
-            for(CastlingRights cr : { Us & KING_SIDE, Us & QUEEN_SIDE } )
+            for (CastlingRights cr : { Us & KING_SIDE, Us & QUEEN_SIDE } )
                 if (!pos.castling_impeded(cr) && pos.can_castle(cr))
                     *moveList++ = make<CASTLING>(ksq, pos.castling_rook_square(cr));
     }