]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Thread code reformat
[stockfish] / src / ucioption.cpp
index 397574e019c89e75c2852a61385e44cdd49ba9a0..0e049046f9b407cc17b52d95724806de1e835977 100644 (file)
@@ -39,7 +39,7 @@ namespace UCI {
 void on_clear_hash(const Option&) { Search::clear(); }
 void on_hash_size(const Option& o) { TT.resize(o); }
 void on_logger(const Option& o) { start_logger(o); }
-void on_threads(const Option&) { Threads.read_uci_options(); }
+void on_threads(const Option& o) { Threads.set(o); }
 void on_tb_path(const Option& o) { Tablebases::init(o); }