Adjust function signature

Don't pass bool by reference if not necessary.
This commit is contained in:
WarmUpTill
2021-04-14 20:30:29 +02:00
committed by WarmUpTill
parent acf1ae63aa
commit 139df8a641
14 changed files with 86 additions and 63 deletions

View File

@@ -709,7 +709,7 @@ void SwitcherData::checkNoMatchSwitch(bool &match, OBSWeakSource &scene,
transition = nullptr;
}
if (switchIfNotMatching == RANDOM_SWITCH) {
checkRandom(match, scene, transition, sleep);
match = checkRandom(scene, transition, sleep);
}
}