X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=d5db2c97bd2df16b06074d67c52bc7f44a5934ca;hp=a229027970b73bfdbf2e844331b4ac16843b9596;hb=ad937d0b2d2a9450686b9f3412c891a68ff19310;hpb=c15b132f033881b7bc0e8c76698d928798dff921 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index a2290279..d5db2c97 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -71,7 +71,6 @@ void init(OptionsMap& o) { o["Cowardice"] << Option(100, 0, 200, on_eval); o["Min Split Depth"] << Option(0, 0, 12, on_threads); o["Threads"] << Option(1, 1, MAX_THREADS, on_threads); - o["Idle Threads Sleep"] << Option(true); o["Hash"] << Option(32, 1, 16384, on_hash_size); o["Clear Hash"] << Option(on_clear_hash); o["Ponder"] << Option(true); @@ -141,10 +140,10 @@ Option::operator std::string() const { void Option::operator<<(const Option& o) { - static size_t index = 0; + static size_t insert_order = 0; *this = o; - idx = index++; + idx = insert_order++; }