Browse Source

ARAPluginDemo: Fix dereferencing beyond end iterator

v7.0.9
attila 3 years ago
parent
commit
f5051d4e39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/Plugins/ARAPluginDemo.h

+ 1
- 1
examples/Plugins/ARAPluginDemo.h 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)


Loading…
Cancel
Save