mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Retire Time::restart()
Simplify API. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1753,7 +1753,7 @@ void check_time() {
|
||||
|
||||
if (lastInfoTime.elapsed() >= 1000)
|
||||
{
|
||||
lastInfoTime.restart();
|
||||
lastInfoTime = Time::current_time();
|
||||
dbg_print();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user