projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7cb90
)
iterator std::set::erase (iterator) is C++11
author
Robin Gareus
<robin@gareus.org>
Mon, 8 May 2017 14:30:54 +0000
(16:30 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 8 May 2017 14:30:54 +0000
(16:30 +0200)
libs/ardour/selection.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/selection.cc
b/libs/ardour/selection.cc
index 6775759fc974bcae906019b34187f28e8c6caf11..1c0e89fdf035b1ffae1271b29ae1512e90750164 100644
(file)
--- a/
libs/ardour/selection.cc
+++ b/
libs/ardour/selection.cc
@@
-251,7
+251,7
@@
CoreSelection::remove_stripable_by_id (PBD::ID const & id)
for (SelectedStripables::iterator x = _stripables.begin(); x != _stripables.end(); ) {
if ((*x).stripable == id) {
-
x = _stripables.erase (x
);
+
_stripables.erase (x++
);
/* keep going because there may be more than 1 pair of
stripable/automation-control in the selection.
*/