Add the modifiers size check, minor edit
This commit is contained in:
parent
d818b0d7c8
commit
a0a7116cf0
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@ private:
|
|||
void forEachWithSmoother(sfz::Mod modId, F&& lambda)
|
||||
{
|
||||
size_t count = region->modifiers[modId].size();
|
||||
ASSERT(count == modifierSmoothers[modId].size());
|
||||
ASSERT(modifierSmoothers[modId].size() >= count);
|
||||
auto mod = region->modifiers[modId].begin();
|
||||
auto smoother = modifierSmoothers[modId].begin();
|
||||
for (size_t i = 0; i < count; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue