projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
C++11 tweaks.
[dcpomatic.git]
/
src
/
lib
/
timer.h
diff --git
a/src/lib/timer.h
b/src/lib/timer.h
index bd4e652f811cfe04d254e252f680973e5c2ed2c7..44724ee026e28e0188b68a507fb00dc0462437d6 100644
(file)
--- 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 {