X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=0fbcc1fc65795395d7678c297da49267cee1ff10;hp=ae0fa1ceddd33779ddc333e58748f5ad3a13779c;hb=dc7fd868f4fa41251a9521a0b25e3adb483bfd83;hpb=7b4aa1070882cba085c9d6ed03d934734c395fe5 diff --git a/src/thread.cpp b/src/thread.cpp index ae0fa1ce..0fbcc1fc 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -441,7 +441,7 @@ void ThreadPool::start_searching(const Position& pos, const LimitsType& limits, Limits = limits; RootMoves.clear(); - for (MoveList ml(pos); !ml.end(); ++ml) + for (MoveList ml(pos); !ml.end(); ++ml) if (searchMoves.empty() || count(searchMoves.begin(), searchMoves.end(), ml.move())) RootMoves.push_back(RootMove(ml.move()));