mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +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
|
|
@ -727,9 +727,8 @@ CueMaster::context_menu ()
|
|||
void
|
||||
CueMaster::get_boxen (TriggerBoxList &boxlist)
|
||||
{
|
||||
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