diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:19:54 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 16:19:54 +0100 |
commit | ad148587dcf5244c2d2011dba339786c765c54c4 (patch) | |
tree | bdd914121cd326da2ed26679838878e3edffc841 /src/util/timetaker.h | |
parent | 1145b05ea0bda87dc0827821385810eced08f774 (diff) | |
download | dragonfireclient-ad148587dcf5244c2d2011dba339786c765c54c4.tar.xz |
Make Lint Happy
Diffstat (limited to 'src/util/timetaker.h')
-rw-r--r-- | src/util/timetaker.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/util/timetaker.h b/src/util/timetaker.h index bc3d4a88d..0abf9baa5 100644 --- a/src/util/timetaker.h +++ b/src/util/timetaker.h @@ -29,15 +29,12 @@ with this program; if not, write to the Free Software Foundation, Inc., class TimeTaker { public: - TimeTaker(const std::string &name, u64 *result=nullptr, - TimePrecision prec=PRECISION_MILLI); + TimeTaker(const std::string &name, u64 *result = nullptr, + TimePrecision prec = PRECISION_MILLI); - ~TimeTaker() - { - stop(); - } + ~TimeTaker() { stop(); } - u64 stop(bool quiet=false); + u64 stop(bool quiet = false); u64 getTimerTime(); |