X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=53a99f66036f66932ccc6e01b1ade81f81b51ca3;hp=1ba954677047754fcbf99751d892789c0af6792a;hb=831f91b859c43a5fa895ef0c955516ec8b7a8212;hpb=0a003d3ba1e3082132606d06159693aaa805a138 diff --git a/src/search.cpp b/src/search.cpp index 1ba95467..53a99f66 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1753,7 +1753,7 @@ void check_time() { if (lastInfoTime.elapsed() >= 1000) { - lastInfoTime.restart(); + lastInfoTime = Time::current_time(); dbg_print(); }