mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
fix compilation error with older libstdc++
This commit is contained in:
parent
733a6e0d02
commit
8e6b248938
1 changed files with 7 additions and 1 deletions
|
|
@ -344,7 +344,13 @@ BeatBox::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_fram
|
|||
break;
|
||||
default:
|
||||
delete e;
|
||||
ee = _current_events.erase (ee);
|
||||
/* old versions of libstc++ don't return an iterator
|
||||
from set<T>::erase (iterator)
|
||||
*/
|
||||
Events::iterator n = ee;
|
||||
++n;
|
||||
_current_events.erase (ee);
|
||||
ee = n;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue