mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Fix pointer dereference after move
This commit is contained in:
@@ -65,7 +65,7 @@ void Vst3Bridge::run() {
|
||||
component_instances[instance_id] = std::move(component);
|
||||
|
||||
return std::make_optional<YaComponent::Arguments>(
|
||||
component, instance_id);
|
||||
component_instances[instance_id], instance_id);
|
||||
} else {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user