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)...);