Fix IPluginFactory implementation level detection

These were not getting initialized, and could thus evaluate to true if
you're unlucky.
This commit is contained in:
Robbert van der Helm
2020-12-27 13:03:49 +01:00
parent 095716d248
commit 07d57771c1
@@ -49,12 +49,12 @@ class YaPluginFactory : public Steinberg::IPluginFactory3 {
/**
* Whether `factory` supported `IPluginFactory2`.
*/
bool supports_plugin_factory_2;
bool supports_plugin_factory_2 = false;
/**
* Whether `factory` supported `IPluginFactory3`.
*/
bool supports_plugin_factory_3;
bool supports_plugin_factory_3 = false;
/**
* For `IPluginFactory::getFactoryInfo`.