X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=4fe5a5b4f60bfd41a528781f5d0dff74137e607b;hp=6f2bcdb3ddb0431e3c9d2debd86f89f09824942e;hb=a67c22611aea4b643e8278fa6007da316bd06b13;hpb=adeded29fb6ce483bbbafaa0f67aa086cad968f9 diff --git a/src/search.h b/src/search.h index 6f2bcdb3..4fe5a5b4 100644 --- a/src/search.h +++ b/src/search.h @@ -46,7 +46,6 @@ struct Stack { Depth reduction; Value staticEval; bool skipNullMove; - bool nullChild; }; @@ -106,8 +105,8 @@ extern Time::point SearchTime; extern StateStackPtr SetupStates; extern void init(); -extern uint64_t perft(Position& pos, Depth depth); extern void think(); +template uint64_t perft(Position& pos, Depth depth); } // namespace Search