Make RCU reader return a const pointer (omnibus commit)

This commit is contained in:
Robin Gareus
2023-04-07 23:33:13 +02:00
parent e9f71824a1
commit 295dbd8e1e
58 changed files with 745 additions and 776 deletions

View File

@@ -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());