summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-18 11:21:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-18 12:29:45 +0200
commiteda160a0db364c5a4ce19124e9c533aab2d4b667 (patch)
tree2fbaa2baf626eaa4054c784d030578d82ceca858 /compat/timer.hpp
parentf6e793af0dfde09e5dc5712c132fe6e4865738ef (diff)
compat/timer: fix overflow with large time intervals
Diffstat (limited to 'compat/timer.hpp')
-rw-r--r--compat/timer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.hpp b/compat/timer.hpp
index f7791a1a..47072226 100644
--- a/compat/timer.hpp
+++ b/compat/timer.hpp
@@ -23,6 +23,6 @@ struct OTR_COMPAT_EXPORT Timer final
private:
struct timespec state {};
static void gettime(struct timespec* state);
- struct timespec gettime_() const;
+ struct timespec get_delta() const;
using ns = time_units::ns;
};