mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
another use of auto iterators
This commit is contained in:
parent
cfbe6b6048
commit
51e7584dee
1 changed files with 2 additions and 2 deletions
|
|
@ -1312,8 +1312,8 @@ Item::dump (ostream& o) const
|
|||
|
||||
ArdourCanvas::dump_depth++;
|
||||
|
||||
for (list<Item*>::const_iterator i = _items.begin(); i != _items.end(); ++i) {
|
||||
o << **i;
|
||||
for (auto const & item : _items) {
|
||||
o << *item;
|
||||
}
|
||||
|
||||
ArdourCanvas::dump_depth--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue