]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Rename current_time() to now()
[stockfish] / src / misc.cpp
index ababdbc1d7df8d4276e0de838a0ef34e5faf3071..75a294a1c1a182c0487c8773129d4b2dc8a160cb 100644 (file)
@@ -201,7 +201,7 @@ void timed_wait(WaitCondition& sleepCond, Lock& sleepLock, int msec) {
   int tm = msec;
 #else
   timespec ts, *tm = &ts;
-  uint64_t ms = Time::current_time().msec() + msec;
+  uint64_t ms = Time::now().msec() + msec;
 
   ts.tv_sec = ms / 1000;
   ts.tv_nsec = (ms % 1000) * 1000000LL;