mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Make RCU reader return a const pointer (omnibus commit)
This commit is contained in:
parent
e9f71824a1
commit
295dbd8e1e
58 changed files with 745 additions and 776 deletions
|
|
@ -304,9 +304,8 @@ CueBoxUI::context_menu (uint64_t idx)
|
|||
void
|
||||
CueBoxUI::get_slots (TriggerList &triggerlist, uint64_t idx)
|
||||
{
|
||||
std::shared_ptr<RouteList> rl = _session->get_routes();
|
||||
for (RouteList::iterator r = rl->begin(); r != rl->end(); ++r) {
|
||||
std::shared_ptr<Route> route = *r;
|
||||
std::shared_ptr<RouteList const> rl = _session->get_routes();
|
||||
for (auto const& route : *rl) {
|
||||
std::shared_ptr<TriggerBox> box = route->triggerbox();
|
||||
#warning @Ben disambiguate processor *active* vs *visibility*
|
||||
if (box /*&& box.active*/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue