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

View File

@@ -423,7 +423,7 @@ const string Position::fen() const {
if (!can_castle(WHITE) && !can_castle(BLACK))
ss << '-';
ss << (ep_square() == SQ_NONE ? " - " : " " + UCI::to_string(ep_square()) + " ")
ss << (ep_square() == SQ_NONE ? " - " : " " + UCI::format_square(ep_square()) + " ")
<< st->rule50 << " " << 1 + (gamePly - (sideToMove == BLACK)) / 2;
return ss.str();
@@ -450,7 +450,7 @@ const string Position::pretty() const {
<< std::setfill('0') << std::setw(16) << st->key << "\nCheckers: ";
for (Bitboard b = checkers(); b; )
ss << UCI::to_string(pop_lsb(&b)) << " ";
ss << UCI::format_square(pop_lsb(&b)) << " ";
return ss.str();
}