aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/event.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 8fa8c901..f3cebfb3 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -228,9 +228,8 @@ namespace QMatrixClient
explicit Event(Type type, const QJsonObject& json);
explicit Event(Type type, event_mtype_t matrixType,
const QJsonObject& contentJson = {});
- Event(const Event&) = delete;
+ Q_DISABLE_COPY(Event)
Event(Event&&) = default;
- Event& operator=(const Event&) = delete;
Event& operator=(Event&&) = delete;
virtual ~Event();