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/directchatevent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/events/directchatevent.h') diff --git a/lib/events/directchatevent.h b/lib/events/directchatevent.h index 1d366721..7559796b 100644 --- a/lib/events/directchatevent.h +++ b/lib/events/directchatevent.h @@ -33,5 +33,6 @@ namespace QMatrixClient QMultiHash usersToDirectChats() const; }; + REGISTER_EVENT_TYPE(DirectChatEvent) DEFINE_EVENTTYPE_ALIAS(DirectChat, DirectChatEvent) } -- cgit v1.2.3