From 79c6d609c9749d51f142e56fa647b007277696c8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 17 Jan 2014 13:13:08 +0000 Subject: [PATCH] FunctionGroup: fix incorrect parameter for operator() --- src/function_group.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/function_group.hh b/src/function_group.hh index 7e598a94..5a58bf68 100644 --- a/src/function_group.hh +++ b/src/function_group.hh @@ -15,7 +15,7 @@ public: using Function = std::function; using FunctionAndId = std::pair>; - void operator()(Args&&... args) + void operator()(Args... args) { for (auto& func : m_functions) func.second(std::forward(args)...);