X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread.cpp;h=c385f05ef2fcc6f291f83283c1ffb04aa7710d26;hb=8d1c1074d5d85a87e69f75cd13a0f2bf11626666;hp=7d85db8618ca982059b96466d963e29d3b1b5ba7;hpb=e005270fb6fb5a21ccfa91186181707882aef285;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index 7d85db86..c385f05e 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -83,10 +83,11 @@ void ThreadBase::wait_for(volatile const bool& b) { Thread::Thread() /* : splitPoints() */ { // Value-initialization bug in MSVC searching = false; - maxPly = splitPointsSize = 0; + maxPly = splitPointsSize = curPage = 0; activeSplitPoint = NULL; activePosition = NULL; idx = Threads.size(); + movePages.resize(MAX_PLY_PLUS_6 * MAX_MOVES); }