From ed467d27b07781fdd2f7ddef043568954ce50b69 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 2 Jul 2018 13:39:33 +0900 Subject: Events: use a template structure instead of template variables; rearrange code into blocks A template member variable in it seemed to cause internal compiler error in MSVC 2017, let alone MSVC 2015... --- lib/events/roomavatarevent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/events/roomavatarevent.h') diff --git a/lib/events/roomavatarevent.h b/lib/events/roomavatarevent.h index fe11807c..491861b1 100644 --- a/lib/events/roomavatarevent.h +++ b/lib/events/roomavatarevent.h @@ -37,5 +37,6 @@ namespace QMatrixClient { } QUrl url() const { return content().url; } }; + REGISTER_EVENT_TYPE(RoomAvatarEvent) DEFINE_EVENTTYPE_ALIAS(RoomAvatar, RoomAvatarEvent) } // namespace QMatrixClient -- cgit v1.2.3