mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Rename current_time() to now()
Follow C++11 naming conventions. No functional change.
This commit is contained in:
@@ -340,7 +340,7 @@ namespace {
|
||||
|
||||
Book::Book() {
|
||||
|
||||
for (int i = Time::current_time().msec() % 10000; i > 0; i--)
|
||||
for (int i = Time::now().msec() % 10000; i > 0; i--)
|
||||
RKiss.rand<unsigned>(); // Make random number generation less deterministic
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user