projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use raw string literals instead of escaped strings
[quassel.git]
/
src
/
common
/
event.h
diff --git
a/src/common/event.h
b/src/common/event.h
index
10bfdab
..
b652587
100644
(file)
--- a/
src/common/event.h
+++ b/
src/common/event.h
@@
-33,7
+33,7
@@
class COMMON_EXPORT Event
{
public:
explicit Event(EventManager::EventType type = EventManager::Invalid);
{
public:
explicit Event(EventManager::EventType type = EventManager::Invalid);
- virtual ~Event()
{}
+ virtual ~Event()
= default;
inline EventManager::EventType type() const { return _type; }
inline EventManager::EventType type() const { return _type; }
@@
-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);
};