modernize: Use raw string literals instead of escaped strings
[quassel.git] / src / common / event.h
index 10bfdab..b652587 100644 (file)
@@ -33,7 +33,7 @@ class COMMON_EXPORT Event
 {
 public:
     explicit Event(EventManager::EventType type = EventManager::Invalid);
-    virtual ~Event() {}
+    virtual ~Event() = default;
 
     inline EventManager::EventType type() const { return _type; }
 
@@ -72,7 +72,7 @@ private:
     EventManager::EventType _type;
     EventManager::EventFlags _flags;
     QDateTime _timestamp;
-    bool _valid;
+    bool _valid{true};
 
     friend COMMON_EXPORT QDebug operator<<(QDebug dbg, Event *e);
 };