Use UID conversion for GetControllerClassId

This commit is contained in:
Robbert van der Helm
2021-01-22 14:02:04 +01:00
parent ae0d7263b8
commit d3d57a3fe0
4 changed files with 6 additions and 6 deletions
@@ -169,8 +169,8 @@ Vst3PluginProxyImpl::getControllerClassId(Steinberg::TUID classId) {
YaComponent::GetControllerClassId{.instance_id =
instance_id()});
std::copy(response.editor_cid.begin(), response.editor_cid.end(),
classId);
ArrayUID native_uid = response.editor_cid.get_native_uid();
std::copy(native_uid.begin(), native_uid.end(), classId);
return response.result;
} else {