Use UID conversion for IsPlugInterfaceSupported

I assume that this would also be necessary here, right?
This commit is contained in:
Robbert van der Helm
2021-01-22 13:50:06 +01:00
parent 4a5c961b63
commit ae0d7263b8
4 changed files with 28 additions and 29 deletions
@@ -100,8 +100,7 @@ Vst3HostContextProxyImpl::isPlugInterfaceSupported(const Steinberg::TUID _iid) {
return bridge.send_message(
YaPlugInterfaceSupport::IsPlugInterfaceSupported{
.owner_instance_id = owner_instance_id(),
.iid = std::to_array(
*reinterpret_cast<const Steinberg::TUID*>(&_iid))});
.iid = *reinterpret_cast<const Steinberg::TUID*>(&_iid)});
} else {
bridge.logger.log(
"WARNING: Null pointer passed to "