Fully implement IPluginBase::initialize()

We can now pass host contexts around.
This commit is contained in:
Robbert van der Helm
2020-12-13 15:16:11 +01:00
parent 0c64aabeea
commit 7c5f7a2e0e
4 changed files with 46 additions and 8 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ class Vst3MessageHandler : public AdHocSocketHandler<Thread> {
// always know for sure that the function returns the correct
// type, and we can scrap a lot of boilerplate elsewhere.
std::visit(
[&]<typename T>(const T object) {
[&]<typename T>(T object) {
typename T::Response response = callback(object);
if (logging) {