diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-28 21:50:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-28 21:50:09 +0100 |
| commit | e7440b69bf0dc486314544b0e1fb5ac2d45a9a8d (patch) | |
| tree | 6704ca9b9473505ce7ccd13b50c4d5aae0244d88 /src/lib/timer.h | |
| parent | ded500fef3fcae71f03594c2be5ea9196d21b039 (diff) | |
C++11 tweaks.
Diffstat (limited to 'src/lib/timer.h')
| -rw-r--r-- | src/lib/timer.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/timer.h b/src/lib/timer.h index bd4e652f8..44724ee02 100644 --- a/src/lib/timer.h +++ b/src/lib/timer.h @@ -74,13 +74,8 @@ public: class Counts { public: - Counts () - : total_time (0) - , number (0) - {} - - double total_time; - int number; + double total_time = 0; + int number = 0; }; std::map<std::string, Counts> counts () const { |
