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
|
|
@ -125,7 +125,7 @@ IOPluginWindow::refill ()
|
|||
if (!_session) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<IOPlugList> iop (_session->io_plugs ());
|
||||
std::shared_ptr<IOPlugList const> iop (_session->io_plugs ());
|
||||
for (auto& i : *iop) {
|
||||
IOPlugUI* iopup = manage (new IOPlugUI (i));
|
||||
if (i->is_pre ()) {
|
||||
|
|
@ -588,9 +588,9 @@ IOPluginWindow::IOButton::button_press (GdkEventButton* ev)
|
|||
|
||||
uint32_t const n_with_separator = citems.size ();
|
||||
|
||||
std::shared_ptr<ARDOUR::BundleList> b = _io->session ().bundles ();
|
||||
std::shared_ptr<ARDOUR::RouteList> routes = _io->session ().get_routes ();
|
||||
RouteList copy = *routes;
|
||||
std::shared_ptr<ARDOUR::BundleList const> b = _io->session ().bundles ();
|
||||
std::shared_ptr<ARDOUR::RouteList const> routes = _io->session ().get_routes ();
|
||||
RouteList copy = *routes;
|
||||
copy.sort (RouteCompareByName ());
|
||||
|
||||
if (_io->direction () == IO::Input) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue