X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.h;h=4e63fe478073953fcffd7f474e728c8f659afd43;hp=0b112de9b0f14540d414c506f61998053ad0c72e;hb=716a145a6cc9257c3b45a41030913220c3878249;hpb=7eaea3848c9e8a388c0b79cee6fba6bf3cd32108 diff --git a/src/thread.h b/src/thread.h index 0b112de9..4e63fe47 100644 --- a/src/thread.h +++ b/src/thread.h @@ -94,7 +94,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();