X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=3cae0e3fa2095c10ab08378cb142a3be37cc68cf;hp=77acd89e39b12310d5333708de19c5c85c7a883f;hb=3527a42063c3fc44fdaf85cd9ca0a81013fc17a7;hpb=98352a5e84096c906d5ecc1aeb2fca8745e173c2 diff --git a/src/search.cpp b/src/search.cpp index 77acd89e..3cae0e3f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -507,7 +507,7 @@ namespace { Rml.init(pos, rootMoves); // Handle special case of searching on a mate/stalemate position - if (!Rml.size()) + if (Rml.empty()) { cout << "info" << depth_to_uci(DEPTH_ZERO) << score_to_uci(pos.in_check() ? -VALUE_MATE : VALUE_DRAW, alpha, beta) << endl;