]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Revert Pull Request #1771, see issue #1785 (#1786)
[stockfish] / src / thread.cpp
index 8b13f6e34907e1f0b98d75f13311f5b3a15f96ce..ed7c5f336fe2c2efb1ba44874b97f8f23bd2fc73 100644 (file)
@@ -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