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/typingevent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/events/typingevent.h') diff --git a/lib/events/typingevent.h b/lib/events/typingevent.h index 0c4b350d..27b668b4 100644 --- a/lib/events/typingevent.h +++ b/lib/events/typingevent.h @@ -34,5 +34,6 @@ namespace QMatrixClient private: QStringList _users; }; + REGISTER_EVENT_TYPE(TypingEvent) DEFINE_EVENTTYPE_ALIAS(Typing, TypingEvent) } // namespace QMatrixClient -- cgit v1.2.3