X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fclient.cpp;fp=src%2Fclient.cpp;h=a59b961ad9736ac73ca68d85f0d6c0347906499e;hp=a57879050bf0164b61ee14c2b662e3b61eac5818;hb=775417fcee5cdca67bf72e4b4ed3372470b7be2c;hpb=078767d6dfe9a1fec9614634e4e2c493ccabe4bc diff --git a/src/client.cpp b/src/client.cpp index a5787905..a59b961a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -14,7 +14,7 @@ using grpc::Status; using namespace hashprobe; std::string FormatMove(const HashProbeMove &move) { - if (move.from_sq().empty()) return "MOVE_NONE"; + if (move.pretty().empty()) return "MOVE_NONE"; return move.pretty(); }