aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-01 17:07:21 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-01 17:07:21 +0900
commit85b09ebc7cbcf58f1802438f600a3eaeb2286887 (patch)
tree148194cb76ce6641784b03baeaf23d3a16ff8bef /lib/events/event.h
parentdc3acd336e30a17d6b5d0cbe6cde2838737c9030 (diff)
downloadlibquotient-85b09ebc7cbcf58f1802438f600a3eaeb2286887.tar.gz
libquotient-85b09ebc7cbcf58f1802438f600a3eaeb2286887.zip
Event: use Q_DISABLE_COPY
Diffstat (limited to 'lib/events/event.h')
-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();