diff options
author | Len Ovens <len@ovenwerks.net> | 2018-11-07 13:05:05 -0800 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2018-11-07 17:00:16 -0800 |
commit | 0140b24248e95f1e7ddc15ce2ec9a466aebfa6a1 (patch) | |
tree | a109e052f46cc4af39612fbd5653ef82ad627bd8 /gtk2_ardour/mixer_strip.cc | |
parent | 80fd215a5cf0dad7013b2ac5c94dd24d14767339 (diff) |
Change get_routes to get_routelist where appropriate.
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 3868dd6bd0..7b94385970 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -910,8 +910,7 @@ MixerStrip::output_press (GdkEventButton *ev) } /* then other routes inputs */ - boost::shared_ptr<ARDOUR::RouteList> routes = _session->get_routes (); - RouteList copy = *routes; + RouteList copy = _session->get_routelist (); copy.sort (RouteCompareByName ()); for (ARDOUR::RouteList::const_iterator i = copy.begin(); i != copy.end(); ++i) { maybe_add_bundle_to_output_menu ((*i)->input()->bundle(), current, intended_type); |