Rename current_time() to now()

Follow C++11 naming conventions.

No functional change.
This commit is contained in:
Marco Costalba
2012-09-02 16:39:01 +02:00
parent e6d8e74152
commit 5900ab76a0
6 changed files with 9 additions and 9 deletions

View File

@@ -417,7 +417,7 @@ void ThreadPool::start_searching(const Position& pos, const LimitsType& limits,
const std::vector<Move>& searchMoves, StateStackPtr& states) {
wait_for_search_finished();
SearchTime = Time::current_time(); // As early as possible
SearchTime = Time::now(); // As early as possible
Signals.stopOnPonderhit = Signals.firstRootMove = false;
Signals.stop = Signals.failedLowAtRoot = false;