Skip to content

Commit 244d189

Browse files
Fix logical condition in VERIFY_OR_DEBUG_ASSERT of getStandardEffectChain
1 parent 72bd3a7 commit 244d189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/effects/effectsmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ EffectChainPointer EffectsManager::getOutputEffectChain() const {
129129
}
130130

131131
EffectChainPointer EffectsManager::getStandardEffectChain(int unitNumber) const {
132-
VERIFY_OR_DEBUG_ASSERT(0 <= unitNumber || unitNumber < m_standardEffectChains.size()) {
132+
VERIFY_OR_DEBUG_ASSERT(0 <= unitNumber && unitNumber < m_standardEffectChains.size()) {
133133
return EffectChainPointer();
134134
}
135135
return m_standardEffectChains.at(unitNumber);

0 commit comments

Comments
 (0)