diff options
Diffstat (limited to 'facetracknoir/timer.hpp')
-rw-r--r-- | facetracknoir/timer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/timer.hpp b/facetracknoir/timer.hpp index 35ccd4cc..628365c9 100644 --- a/facetracknoir/timer.hpp +++ b/facetracknoir/timer.hpp @@ -53,8 +53,8 @@ public: long start() { struct timespec cur; (void) clock_gettime(CLOCK_MONOTONIC, &cur); + long ret = conv(cur); state = cur; - int ret = conv(cur); return ret; } long elapsed() { |