mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Add explicit move when creating factory
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user