summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-18 14:37:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-21 11:11:51 +0100
commite480306bf3fd8bf603ecc74bdc434e9de924ccb1 (patch)
tree796711068f0f20c304485c498cf4237324a25346 /compat/timer.cpp
parent9df0a0cf266cf1afac8170ca36aadbf2e5014191 (diff)
docs: add doxygen
Diffstat (limited to 'compat/timer.cpp')
-rw-r--r--compat/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp
index 7fa62e9c..162ba16f 100644
--- a/compat/timer.cpp
+++ b/compat/timer.cpp
@@ -30,7 +30,7 @@ long long Timer::elapsed_nsecs() const
return conv_nsecs(cur);
}
-long long Timer::conv_nsecs(const timespec& cur) const
+long long Timer::conv_nsecs(const struct timespec& cur) const
{
return (cur.tv_sec - state.tv_sec) * 1000000000LL + (cur.tv_nsec - state.tv_nsec);
}