X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=dd4040d732397c8752d5d9096b520afb280f7967;hp=c6da2fc4851acee54e5b60f140cb054d3066e5f5;hb=e1919384a23fe728422f995369161efa192380db;hpb=699f700162f410519e5510c667aebc9940d4e91e;ds=sidebyside diff --git a/src/uci.cpp b/src/uci.cpp index c6da2fc4..dd4040d7 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -56,7 +56,7 @@ namespace { void uci_loop(const string& args) { - Position pos(StartFEN, false, Threads.main_thread()); // The root position + Position pos(StartFEN, false); // The root position string cmd, token; while (token != "quit") @@ -167,7 +167,7 @@ namespace { else return; - pos.from_fen(fen, Options["UCI_Chess960"], Threads.main_thread()); + pos.from_fen(fen, Options["UCI_Chess960"]); // Parse move list (if any) while (is >> token && (m = move_from_uci(pos, token)) != MOVE_NONE)