X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=4a0a34ef4704f1d0f8d8e7bf50a26205d1904767;hp=1e14f59b743bfee385ca02243d6b3ef6dc8333b0;hb=6c040c821a50475840607ef5f11c270ee21d61da;hpb=098f645d26675bcf2180b290be77fe64a63de3ae diff --git a/src/movegen.cpp b/src/movegen.cpp index 1e14f59b..4a0a34ef 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -66,7 +66,7 @@ namespace { template - inline ExtMove* make_promotions(ExtMove* moveList, Square to, const CheckInfo* ci) { + ExtMove* make_promotions(ExtMove* moveList, Square to, const CheckInfo* ci) { if (Type == CAPTURES || Type == EVASIONS || Type == NON_EVASIONS) *moveList++ = make(to - Delta, to, QUEEN); @@ -219,7 +219,7 @@ namespace { } - template FORCE_INLINE + template ExtMove* generate_moves(const Position& pos, ExtMove* moveList, Color us, Bitboard target, const CheckInfo* ci) { @@ -252,7 +252,7 @@ namespace { } - template FORCE_INLINE + template ExtMove* generate_all(const Position& pos, ExtMove* moveList, Bitboard target, const CheckInfo* ci = nullptr) {