C++11 tweaks.
[dcpomatic.git] / src / lib / timer.h
index bd4e652f811cfe04d254e252f680973e5c2ed2c7..44724ee026e28e0188b68a507fb00dc0462437d6 100644 (file)
@@ -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 {