projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c8abb2
)
MSVC won't allow us to erase an item that's managed by 'const_iterator'
author
John Emmas
<johne53@tiscali.co.uk>
Mon, 17 Dec 2018 09:32:19 +0000
(09:32 +0000)
committer
John Emmas
<johne53@tiscali.co.uk>
Mon, 17 Dec 2018 09:32:19 +0000
(09:32 +0000)
libs/ardour/automatable.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/automatable.cc
b/libs/ardour/automatable.cc
index 3e5eec54f7d2899bd6c3b4ced050679c2da5e33c..3230dac28f28fd40200765a6aad808c412f062b3 100644
(file)
--- a/
libs/ardour/automatable.cc
+++ b/
libs/ardour/automatable.cc
@@
-478,7
+478,7
@@
Automatable::automation_list_automation_state_changed (Evoral::Parameter param,
RCUWriter<ControlList> writer (_automated_controls);
boost::shared_ptr<ControlList> cl = writer.get_copy ();
- ControlList::
const_
iterator fi = std::find (cl->begin(), cl->end(), c);
+ ControlList::iterator fi = std::find (cl->begin(), cl->end(), c);
if (fi != cl->end()) {
cl->erase (fi);
}