mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Use new Time class in timed_wait()
And simplify the code. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
static Time current_time() { Time t; t.restart(); return t; }
|
||||
|
||||
private:
|
||||
my_time_t t;
|
||||
sys_time_t t;
|
||||
};
|
||||
|
||||
#endif // !defined(MISC_H_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user