Use explicit cast to bool

This commit is contained in:
Robin Gareus
2020-10-09 14:10:38 +02:00
parent 37475308ee
commit 85acfb0842

View File

@@ -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;
}