X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=0fbcc1fc65795395d7678c297da49267cee1ff10;hb=5dc0df843529faacd79e5f46a3a9b015982d2381;hp=ae0fa1ceddd33779ddc333e58748f5ad3a13779c;hpb=960a689769cb143afa364d3669940c18d0c3a503;p=stockfish 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()));