1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

FunctionGroup: fix incorrect parameter for operator()

This commit is contained in:
Maxime Coste 2014-01-17 13:13:08 +00:00
parent 997aadd33f
commit 79c6d609c9

View File

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