X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fautomatable.cc;h=3230dac28f28fd40200765a6aad808c412f062b3;hb=0d55dad0456e556f1dd969f266329452ebc2cabb;hp=3e5eec54f7d2899bd6c3b4ced050679c2da5e33c;hpb=6c8abb26c8419ec749b4dbce502d5df1e1b0585e;p=ardour.git diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 3e5eec54f7..3230dac28f 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -478,7 +478,7 @@ Automatable::automation_list_automation_state_changed (Evoral::Parameter param, RCUWriter writer (_automated_controls); boost::shared_ptr 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); }