X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=c385f05ef2fcc6f291f83283c1ffb04aa7710d26;hp=7d85db8618ca982059b96466d963e29d3b1b5ba7;hb=800410eef1c0811d046ee2332b3afda21284b876;hpb=e005270fb6fb5a21ccfa91186181707882aef285;ds=sidebyside 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); }