aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 66ed8b68..5afcfc2f 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -189,7 +189,7 @@ public:
//! of that type.
//! \note Direct chats map cannot be retrieved using this method _yet_;
//! use directChats() instead.
- template <typename EventT>
+ template <EventClass EventT>
const EventT* accountData() const
{
return eventCast<EventT>(accountData(EventT::TypeId));