mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Use a const iterator for sorted RouteList in Session::state
This commit is contained in:
parent
3589740d69
commit
4b4d64dd7f
1 changed files with 1 additions and 1 deletions
|
|
@ -1341,7 +1341,7 @@ Session::state (bool full_state)
|
|||
RouteList xml_node_order (*r);
|
||||
xml_node_order.sort (cmp);
|
||||
|
||||
for (RouteList::iterator i = xml_node_order.begin(); i != xml_node_order.end(); ++i) {
|
||||
for (RouteList::const_iterator i = xml_node_order.begin(); i != xml_node_order.end(); ++i) {
|
||||
if (!(*i)->is_auditioner()) {
|
||||
if (full_state) {
|
||||
child->add_child_nocopy ((*i)->get_state());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue