mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
ARAPluginDemo: Fix dereferencing beyond end iterator
This commit is contained in:
parent
b46edc31ce
commit
f5051d4e39
1 changed files with 1 additions and 1 deletions
|
|
@ -1692,7 +1692,7 @@ private:
|
|||
const auto end = chordsReader.end();
|
||||
auto it = begin;
|
||||
|
||||
while (it->position <= quarterPosition && it != end)
|
||||
while (it != end && it->position <= quarterPosition)
|
||||
++it;
|
||||
|
||||
if (it != begin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue