mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Use explicit cast to bool
This commit is contained in:
parent
37475308ee
commit
85acfb0842
1 changed files with 2 additions and 2 deletions
|
|
@ -1210,8 +1210,8 @@ VST3PI::disconnect_components ()
|
|||
return false;
|
||||
}
|
||||
|
||||
bool res = componentCP->disconnect (this);
|
||||
res &= controllerCP->disconnect (this);
|
||||
bool res = kResultTrue == componentCP->disconnect (this);
|
||||
res &= kResultTrue == controllerCP->disconnect (this);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue