Skip to content

Commit 5ecf934

Browse files
committed
more consistent expressions
1 parent eef942a commit 5ecf934

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/cpputils/timepoint.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class timedelta_cls {
2626
int64_t totalseconds() const { return _usec/1000/1000; }
2727
int64_t totalminutes() const { return _usec/1000/1000/60; }
2828
int64_t totalhours() const { return _usec/1000/1000/60/60; }
29-
int64_t totaldays() const { return _usec/1000000/60/60/24; }
29+
int64_t totaldays() const { return _usec/1000/1000/60/60/24; }
3030

3131
int usec() const { return _usec % 1000000; }
3232
int msec() const { return (_usec/1000) % 1000; }
@@ -66,7 +66,6 @@ class timedelta_cls {
6666
friend bool operator>(timedelta_cls lhs, timedelta_cls rhs) { return lhs.totalusec() > rhs.totalusec(); }
6767
friend bool operator<=(timedelta_cls lhs, timedelta_cls rhs) { return lhs.totalusec() <= rhs.totalusec(); }
6868

69-
7069
};
7170

7271
template<int DUMMY=0>

0 commit comments

Comments
 (0)