X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=b3a27fbc8e06528c3e9f3c986b9c6f88c2ebdad7;hp=a9391b50aa8ec5375ccf9db250cc64ed1a4018be;hb=2469daebb1b2ec2ca1653754c35327c16838938e;hpb=5cbcff55cc3a2ff78dd83e7a3f94c5414946f82c diff --git a/src/uci.cpp b/src/uci.cpp index a9391b50..b3a27fbc 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -23,7 +23,6 @@ #include #include "evaluate.h" -#include "notation.h" #include "position.h" #include "search.h" #include "thread.h" @@ -72,7 +71,7 @@ namespace { SetupStates = Search::StateStackPtr(new std::stack()); // Parse move list (if any) - while (is >> token && (m = move_from_uci(pos, token)) != MOVE_NONE) + while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE) { SetupStates->push(StateInfo()); pos.do_move(m, SetupStates->top()); @@ -117,7 +116,7 @@ namespace { { if (token == "searchmoves") while (is >> token) - limits.searchmoves.push_back(move_from_uci(pos, token)); + limits.searchmoves.push_back(UCI::to_move(pos, token)); else if (token == "wtime") is >> limits.time[WHITE]; else if (token == "btime") is >> limits.time[BLACK];