mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Rename current_time() to now()
Follow C++11 naming conventions. No functional change.
This commit is contained in:
@@ -111,7 +111,7 @@ void benchmark(const Position& current, istream& is) {
|
||||
|
||||
int64_t nodes = 0;
|
||||
Search::StateStackPtr st;
|
||||
Time time = Time::current_time();
|
||||
Time time = Time::now();
|
||||
|
||||
for (size_t i = 0; i < fens.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user