summaryrefslogtreecommitdiff
path: root/src/function_group.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-01-17 13:13:08 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-01-17 13:13:08 +0000
commit79c6d609c9749d51f142e56fa647b007277696c8 (patch)
tree3a9ad9c3eca39a5c757cd61181b49fd3d50b771e /src/function_group.hh
parent997aadd33fc0efada5011e95f99df87b8b6b88b0 (diff)
FunctionGroup: fix incorrect parameter for operator()
Diffstat (limited to 'src/function_group.hh')
-rw-r--r--src/function_group.hh2
1 files changed, 1 insertions, 1 deletions
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<void (Args...)>;
using FunctionAndId = std::pair<String, std::function<void (Args...)>>;
- void operator()(Args&&... args)
+ void operator()(Args... args)
{
for (auto& func : m_functions)
func.second(std::forward<Args>(args)...);