Don't assume the type of Time::point

But instead use the proper definition. Also
rewrite chrono functions while there.

No functional change.
This commit is contained in:
Marco Costalba
2015-02-24 12:24:53 +01:00
parent 153fb216a1
commit 0b36ba74fc
6 changed files with 21 additions and 29 deletions

View File

@@ -353,7 +353,7 @@ void ThreadPool::start_thinking(const Position& pos, const LimitsType& limits,
StateStackPtr& states) {
wait_for_think_finished();
SearchTime = Time::now(); // As early as possible
SearchTime = now(); // As early as possible
Signals.stopOnPonderhit = Signals.firstRootMove = false;
Signals.stop = Signals.failedLowAtRoot = false;