X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=4fe5a5b4f60bfd41a528781f5d0dff74137e607b;hp=7d7cce0e027ad95e67a55303f9a698870ebafc7e;hb=a67c22611aea4b643e8278fa6007da316bd06b13;hpb=40f5abba104b411ec5234e2c93b05bba8e6bd3c8 diff --git a/src/search.h b/src/search.h index 7d7cce0e..4fe5a5b4 100644 --- a/src/search.h +++ b/src/search.h @@ -45,7 +45,7 @@ struct Stack { Move killers[2]; Depth reduction; Value staticEval; - int skipNullMove; + bool skipNullMove; }; @@ -105,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