1
0
Fork 0
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:
attila 2023-01-04 17:12:45 +01:00
parent b46edc31ce
commit f5051d4e39

View file

@ -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)