aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 1f9e3f0b..0c8f3640 100644
--- a/util.h
+++ b/util.h
@@ -231,7 +231,7 @@ namespace QMatrixClient
template <typename ResultT, typename... ArgTs>
Dispatch<ResultT, ArgTs...> dispatch(ArgTs&& ... args)
{
- return Dispatch<ResultT, ArgTs...>(std::forward<ArgTs...>(args)...);
+ return Dispatch<ResultT, ArgTs...>(std::forward<ArgTs>(args)...);
}
// The below enables pretty-printing of enums in logs