]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Prefer operator<<() to pretty()
[stockfish] / src / uci.cpp
index cfd112172bf11fe048c4a78447c43888006ca10b..ee1b07023a5fe97b17a8c28cb8911fd9caaefc73 100644 (file)
@@ -203,7 +203,7 @@ void UCI::loop(int argc, char* argv[]) {
       else if (token == "setoption")  setoption(is);
       else if (token == "flip")       pos.flip();
       else if (token == "bench")      benchmark(pos, is);
-      else if (token == "d")          sync_cout << pos.pretty() << sync_endl;
+      else if (token == "d")          sync_cout << pos << sync_endl;
       else if (token == "isready")    sync_cout << "readyok" << sync_endl;
       else if (token == "eval")       sync_cout << Eval::trace(pos) << sync_endl;
       else