Add explicit move when creating factory

This commit is contained in:
Robbert van der Helm
2022-09-05 18:42:04 +02:00
parent 6137fe32ce
commit bdf0c10605
+1 -1
View File
@@ -87,7 +87,7 @@ const void* ClapPluginBridge::get_factory(const char* factory_id) {
}
plugin_factory_ = std::make_unique<clap_plugin_factory_proxy>(
*this, *response.descriptors);
*this, std::move(*response.descriptors));
}
return &plugin_factory_->plugin_factory_vtable;