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:
Marco Costalba
2012-03-03 18:53:37 +01:00
parent 19540c9ee8
commit 482b5b7ece
3 changed files with 11 additions and 19 deletions

View File

@@ -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)