X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread.cpp;h=ed7c5f336fe2c2efb1ba44874b97f8f23bd2fc73;hb=bd4d2b0576ec320367769d5720c7a5b4d094ceef;hp=8b13f6e34907e1f0b98d75f13311f5b3a15f96ce;hpb=12e79be91039796299187ba1b2f1559552642ea4;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index 8b13f6e3..ed7c5f33 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -63,9 +63,9 @@ void Thread::clear() { for (auto& to : continuationHistory) for (auto& h : to) - h.get()->fill(0); + h->fill(0); - continuationHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1); + continuationHistory[NO_PIECE][0]->fill(Search::CounterMovePruneThreshold - 1); } /// Thread::start_searching() wakes up the thread that will start the search