mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04: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);
|
component_instances[instance_id] = std::move(component);
|
||||||
|
|
||||||
return std::make_optional<YaComponent::Arguments>(
|
return std::make_optional<YaComponent::Arguments>(
|
||||||
component, instance_id);
|
component_instances[instance_id], instance_id);
|
||||||
} else {
|
} else {
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user