modernize: Prefer default member init over ctor init
[quassel.git] / src / common / event.h
index 10bfdab..02caa83 100644 (file)
@@ -72,7 +72,7 @@ private:
     EventManager::EventType _type;
     EventManager::EventFlags _flags;
     QDateTime _timestamp;
     EventManager::EventType _type;
     EventManager::EventFlags _flags;
     QDateTime _timestamp;
-    bool _valid;
+    bool _valid{true};
 
     friend COMMON_EXPORT QDebug operator<<(QDebug dbg, Event *e);
 };
 
     friend COMMON_EXPORT QDebug operator<<(QDebug dbg, Event *e);
 };