From: Marco Costalba Date: Tue, 10 Feb 2009 16:53:19 +0000 (+0100) Subject: Last touches to movegen.cpp X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9d044cf4ee933257c65cbd8c01589dd88778a1dd Last touches to movegen.cpp Of course no functional change. Signed-off-by: Marco Costalba --- diff --git a/src/movegen.cpp b/src/movegen.cpp index 9bc149d5..12260e3b 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -40,10 +40,10 @@ namespace { QUEEN_SIDE }; - static const bool CAPTURE = true; - static const bool NON_CAPTURE = false; + const bool CAPTURE = true; + const bool NON_CAPTURE = false; - // Function + // Functions bool castling_is_check(const Position&, CastlingSide); // Helper templates @@ -102,7 +102,7 @@ namespace { template<> inline MoveStack* generate_piece_blocking_evasions(const Position& p, MoveStack* m, Color us, - Bitboard np, Bitboard bs) { + Bitboard np, Bitboard bs) { if (us == WHITE) return generate_pawn_blocking_evasions(p, np, bs, m); else