Make RCU reader return a const pointer (omnibus commit)
This commit is contained in:
@@ -923,7 +923,7 @@ PluginInsert::connect_and_run (BufferSet& bufs, samplepos_t start, samplepos_t e
|
||||
bufs.set_count(ChanCount::max(bufs.count(), _configured_out));
|
||||
|
||||
if (with_auto) {
|
||||
std::shared_ptr<ControlList> cl = _automated_controls.reader ();
|
||||
std::shared_ptr<ControlList const> cl = _automated_controls.reader ();
|
||||
for (ControlList::const_iterator ci = cl->begin(); ci != cl->end(); ++ci) {
|
||||
AutomationControl& c = *(ci->get());
|
||||
std::shared_ptr<const Evoral::ControlList> clist (c.list());
|
||||
|
||||
Reference in New Issue
Block a user