diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-17 12:36:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-17 12:36:13 +0200 |
commit | 9f68e5e9308094b16351cc10b15ff6eb8d1951c4 (patch) | |
tree | 07659a214b830e6fbc7c6ab13ed1cd2705696ca5 /compat | |
parent | 7dd2465bda645a560de8f8457c7267e0ef77c4b2 (diff) |
compat/timer: no need to use `long double'
Diffstat (limited to 'compat')
-rw-r--r-- | compat/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp index ef139d74..80d2cc1a 100644 --- a/compat/timer.cpp +++ b/compat/timer.cpp @@ -56,7 +56,7 @@ time_type Timer::elapsed_ms() const Timer::time_type Timer::elapsed_seconds() const { - return double(elapsed_nsecs() * 1e-9L); + return double(elapsed_nsecs() * 1e-9); } // -- |