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
|
|
@ -283,9 +283,9 @@ BundleManager::BundleManager (Session* session)
|
|||
_tree_view.append_column (_("Name"), _list_model_columns.name);
|
||||
_tree_view.set_headers_visible (false);
|
||||
|
||||
std::shared_ptr<BundleList> bundles = _session->bundles ();
|
||||
for (BundleList::iterator i = bundles->begin(); i != bundles->end(); ++i) {
|
||||
add_bundle (*i);
|
||||
std::shared_ptr<BundleList const> bundles = _session->bundles ();
|
||||
for (auto const& i : *bundles) {
|
||||
add_bundle (i);
|
||||
}
|
||||
|
||||
/* New / Edit / Delete buttons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue