mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Remove support for null pointers in setHostContext
Like the other functions, null pointers are never valid here so we shouldn't bother passing them as it only increases complexity.
This commit is contained in:
@@ -342,13 +342,7 @@ bool Vst3Logger::log_request(bool is_host_vst,
|
||||
bool Vst3Logger::log_request(bool is_host_vst,
|
||||
const YaPluginFactory::SetHostContext& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
message << "IPluginFactory3::setHostContext(";
|
||||
if (request.host_context_args) {
|
||||
message << "<FUnknown*>";
|
||||
} else {
|
||||
message << "<nullptr>";
|
||||
}
|
||||
message << ")";
|
||||
message << "IPluginFactory3::setHostContext(<FUnknown*>)";
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user