Skip to content

Commit

Permalink
fix missing iterator increment (#2331)
Browse files Browse the repository at this point in the history
Thank you @bradhowes (#2181)
  • Loading branch information
richardeakin authored Mar 20, 2024
1 parent a70e977 commit 093ea5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cinder/audio/Param.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ void Param::removeEventsAt( double time )
if( event.getTimeBegin() >= time ) {
if( contextDisabled ) {
eventIt = mEvents.erase( eventIt );
++eventIt;
}
else {
event.cancel();
Expand Down

0 comments on commit 093ea5f

Please sign in to comment.