diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-29 16:00:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-29 16:00:51 +0200 |
commit | 9da1695192518c8f2ca7692fa45e4acbdf4dc2b7 (patch) | |
tree | 4e6396fdb9ceb157279d0c8be29d7c95292eda5a /compat/timer.hpp | |
parent | 50aac35fd1ea04861d108ddc98e9ef5637878ddd (diff) |
compat/timer: fix multiply overflow
Diffstat (limited to 'compat/timer.hpp')
-rw-r--r-- | compat/timer.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/timer.hpp b/compat/timer.hpp index c107d28d..f7791a1a 100644 --- a/compat/timer.hpp +++ b/compat/timer.hpp @@ -10,19 +10,13 @@ #include "export.hpp" #include "time.hpp" - #include <ctime> -#include <cstdint> -#include <type_traits> struct OTR_COMPAT_EXPORT Timer final { - using time_type = std::int64_t; - Timer(); void start(); - time_type elapsed_nsecs() const; double elapsed_ms() const; double elapsed_seconds() const; |