summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-22 17:06:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-22 17:06:39 +0200
commitd092b050a87b075c43645b34ad00e93b53e24fe2 (patch)
tree4ce0603d2a4f9290426f744f59902e2c00ac6c82 /compat/timer.hpp
parent5a6baa3a11e5cc2a917ef0bc901ae27ca0f13576 (diff)
compat/timer: fix big regression
Diffstat (limited to 'compat/timer.hpp')
-rw-r--r--compat/timer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/timer.hpp b/compat/timer.hpp
index b8b4ae59..fb14145d 100644
--- a/compat/timer.hpp
+++ b/compat/timer.hpp
@@ -29,9 +29,9 @@ struct OTR_COMPAT_EXPORT Timer final
}
time_type elapsed_nsecs() const;
- time_type elapsed_usecs() const;
- time_type elapsed_ms() const;
- time_type elapsed_seconds() const;
+ double elapsed_usecs() const;
+ double elapsed_ms() const;
+ double elapsed_seconds() const;
private:
struct timespec state;
static void gettime(struct timespec* state);