aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-27 12:27:37 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-27 12:28:19 +0900
commita0506e5b9da88a5cac8fa4675ceb33501e085684 (patch)
tree2741ab4efe0bf5c8b10b96cb1ef866d5648d5627 /lib/events/event.h
parentcbf57ac2f5def2c2f54e07707120f8b224cdb093 (diff)
downloadlibquotient-a0506e5b9da88a5cac8fa4675ceb33501e085684.tar.gz
libquotient-a0506e5b9da88a5cac8fa4675ceb33501e085684.zip
makeEvent<>: Add a doc comment
[ci skip]
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 2e763bb8..28d73e2a 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -133,6 +133,7 @@ namespace QMatrixClient
// === EventFactory ===
+ /** Create an event of arbitrary type from its arguments */
template <typename EventT, typename... ArgTs>
inline event_ptr_tt<EventT> makeEvent(ArgTs&&... args)
{