diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-01 17:07:21 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-01 17:07:21 +0900 |
commit | 85b09ebc7cbcf58f1802438f600a3eaeb2286887 (patch) | |
tree | 148194cb76ce6641784b03baeaf23d3a16ff8bef /lib | |
parent | dc3acd336e30a17d6b5d0cbe6cde2838737c9030 (diff) | |
download | libquotient-85b09ebc7cbcf58f1802438f600a3eaeb2286887.tar.gz libquotient-85b09ebc7cbcf58f1802438f600a3eaeb2286887.zip |
Event: use Q_DISABLE_COPY
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/event.h | 3 |
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(); |