13
0

Use explicit cast to bool

This commit is contained in:
Robin Gareus 2020-10-09 14:10:38 +02:00
parent 37475308ee
commit 85acfb0842
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

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