From 9d044cf4ee933257c65cbd8c01589dd88778a1dd Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 10 Feb 2009 17:53:19 +0100 Subject: [PATCH] Last touches to movegen.cpp Of course no functional change. Signed-off-by: Marco Costalba --- src/movegen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2