aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roommessageevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:01:41 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 17:01:41 +0900
commite9ae0d5eaac12a276ea352f1e633fb22cdd46828 (patch)
tree363d19a40e0e82b43d90059a66bba86d4c6e0d4a /lib/events/roommessageevent.h
parenta3223e749d6f6c72b7c0ef638a1314d8bc77bc06 (diff)
downloadlibquotient-e9ae0d5eaac12a276ea352f1e633fb22cdd46828.tar.gz
libquotient-e9ae0d5eaac12a276ea352f1e633fb22cdd46828.zip
Now that we're C++17, remove old compatibility cruft
Diffstat (limited to 'lib/events/roommessageevent.h')
-rw-r--r--lib/events/roommessageevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roommessageevent.h b/lib/events/roommessageevent.h
index d0dbbfb3..b393382a 100644
--- a/lib/events/roommessageevent.h
+++ b/lib/events/roommessageevent.h
@@ -87,7 +87,7 @@ private:
const QString& jsonMsgType,
EventContent::TypedBase* content);
- REGISTER_ENUM(MsgType)
+ Q_ENUM(MsgType)
};
REGISTER_EVENT_TYPE(RoomMessageEvent)
using MessageEventType = RoomMessageEvent::MsgType;