diff options
author | Christian Kamm <mail@ckamm.de> | 2017-05-17 11:55:42 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2017-05-17 13:26:27 +0300 |
commit | c8d0f788e00bdae125a26d9159ce9efdd6325cd2 (patch) | |
tree | ad77cb515fe650984e6b76dfffe09838090d77bd /src/gui/activitydata.cpp | |
parent | ae263d60bd6d1bc0eb0c3712bab11de120b8cdd3 (diff) |
Apply clang-format
Diffstat (limited to 'src/gui/activitydata.cpp')
-rw-r--r-- | src/gui/activitydata.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/activitydata.cpp b/src/gui/activitydata.cpp index cd67c9494..b0236658e 100644 --- a/src/gui/activitydata.cpp +++ b/src/gui/activitydata.cpp @@ -17,20 +17,20 @@ #include "activitydata.h" -namespace OCC -{ +namespace OCC { -bool operator<( const Activity& rhs, const Activity& lhs ) { +bool operator<(const Activity &rhs, const Activity &lhs) +{ return rhs._dateTime.toMSecsSinceEpoch() > lhs._dateTime.toMSecsSinceEpoch(); } -bool operator==( const Activity& rhs, const Activity& lhs ) { - return (rhs._type == lhs._type && rhs._id== lhs._id && rhs._accName == lhs._accName); +bool operator==(const Activity &rhs, const Activity &lhs) +{ + return (rhs._type == lhs._type && rhs._id == lhs._id && rhs._accName == lhs._accName); } -Activity::Identifier Activity::ident() const { - return Identifier( _id, _accName ); +Activity::Identifier Activity::ident() const +{ + return Identifier(_id, _accName); } - - } |