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:
parent
997aadd33f
commit
79c6d609c9
@ -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)...);
|
||||
|
Loading…
Reference in New Issue
Block a user