X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=a10920a9714ab381a4a2d4b94fbdf51140b627b8;hp=a2998e62abaed2611dd24851bcf076dae9247b96;hb=7eb6a488ade31254151fd516aa4c94fc56b84a1f;hpb=72641dcaae2241c830254fc19b742eb477d831a3 diff --git a/src/uci.cpp b/src/uci.cpp index a2998e62..a10920a9 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -212,7 +212,7 @@ namespace { void go(Position& pos, istringstream& is) { Search::LimitsType limits; - std::set searchMoves; + vector searchMoves; string token; while (is >> token) @@ -239,7 +239,7 @@ namespace { limits.ponder = true; else if (token == "searchmoves") while (is >> token) - searchMoves.insert(move_from_uci(pos, token)); + searchMoves.push_back(move_from_uci(pos, token)); } Threads.start_searching(pos, limits, searchMoves); @@ -263,8 +263,8 @@ namespace { int e = time.elapsed(); - std::cout << "\nNodes " << n - << "\nTime (ms) " << e - << "\nNodes/second " << int(n / (e / 1000.0)) << std::endl; + cout << "\nNodes " << n + << "\nTime (ms) " << e + << "\nNodes/second " << int(n / (e / 1000.0)) << endl; } }