FunctionGroup: fix incorrect parameter for operator()
This commit is contained in:
parent
997aadd33f
commit
79c6d609c9
|
@ -15,7 +15,7 @@ public:
|
||||||
using Function = std::function<void (Args...)>;
|
using Function = std::function<void (Args...)>;
|
||||||
using FunctionAndId = std::pair<String, 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)
|
for (auto& func : m_functions)
|
||||||
func.second(std::forward<Args>(args)...);
|
func.second(std::forward<Args>(args)...);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user