No longer return a lambda in passthrough_event()

Now that it's no longer used directly this is no longer needed, and it's
much clearer without the lambda.
This commit is contained in:
Robbert van der Helm
2020-11-06 17:17:36 +01:00
parent c285ba0bd2
commit 1c7e866609
3 changed files with 158 additions and 172 deletions
+2 -2
View File
@@ -141,8 +141,8 @@ PluginBridge::PluginBridge(audioMasterCallback host_callback)
return response;
} else {
return passthrough_event(&plugin,
host_callback_function)(event);
return passthrough_event(&plugin, host_callback_function,
event);
}
});
});