]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Fix random moves when time < 10ms
[stockfish] / src / misc.h
index f14308afa5fc6b86303baaf6e78204b0e1f13862..82baa5807b88c2edac488cdee838b149754f8741 100644 (file)
@@ -45,7 +45,7 @@ struct Log : public std::ofstream {
 
 namespace Time {
   typedef int64_t point;
-  point now();
+  inline point now() { return system_time_to_msec(); }
 }