diff options
Diffstat (limited to 'src/components/include/utils/time64.h')
-rw-r--r-- | src/components/include/utils/time64.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/include/utils/time64.h b/src/components/include/utils/time64.h index 175b2940a7..9e4efcdd20 100644 --- a/src/components/include/utils/time64.h +++ b/src/components/include/utils/time64.h @@ -51,10 +51,10 @@ typedef time_t TIME_TYPE; template <typename DURATION_TYPE> double get_duration_diff(TIME_TYPE from, TIME_TYPE to) { - const DURATION_TYPE time_from(from); - const DURATION_TYPE time_to(to); + const DURATION_TYPE time_from(from); + const DURATION_TYPE time_to(to); - return std::chrono::duration_cast<DURATION_TYPE>(time_from - time_to).count(); + return std::chrono::duration_cast<DURATION_TYPE>(time_from - time_to).count(); } #endif // SRC_COMPONENTS_INCLUDE_UTILS_TIME64_H |