X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=8181163ec1b7516dec0c184f193de130920ea3f3;hp=0b112de9b0f14540d414c506f61998053ad0c72e;hb=b3525fa9ea88e230a38d72351826cbc16c282938;hpb=7eaea3848c9e8a388c0b79cee6fba6bf3cd32108 diff --git a/src/thread.h b/src/thread.h index 0b112de9..8181163e 100644 --- a/src/thread.h +++ b/src/thread.h @@ -68,6 +68,7 @@ public: Depth rootDepth; HistoryStats history; MoveStats counterMoves; + FromToStats fromTo; Depth completedDepth; std::atomic_bool resetCalls; }; @@ -94,7 +95,7 @@ struct ThreadPool : public std::vector { void exit(); // be initialized and valid during the whole thread lifetime. MainThread* main() { return static_cast(at(0)); } - void start_thinking(const Position&, StateListPtr&, const Search::LimitsType&); + void start_thinking(Position&, StateListPtr&, const Search::LimitsType&); void read_uci_options(); int64_t nodes_searched();