Final UCI helpers renaming

To reflect new changes, specifically that
now are all under UCI namespace.

No functional change.
This commit is contained in:
Marco Costalba
2014-10-26 07:41:25 +01:00
committed by Joona Kiiski
parent aa60c80ade
commit 2469daebb1
5 changed files with 31 additions and 27 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ namespace {
SetupStates = Search::StateStackPtr(new std::stack<StateInfo>());
// Parse move list (if any)
while (is >> token && (m = UCI::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());
@@ -116,7 +116,7 @@ namespace {
{
if (token == "searchmoves")
while (is >> token)
limits.searchmoves.push_back(UCI::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];