Use explicit cast to bool
This commit is contained in:
parent
37475308ee
commit
85acfb0842
@ -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…
Reference in New Issue
Block a user