mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Remove use of invalidated iterator (#4826).
git-svn-id: svn://localhost/ardour2/branches/3.0@11807 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
83b7463b40
commit
ffc50fcf9d
1 changed files with 2 additions and 1 deletions
|
|
@ -48,8 +48,9 @@ TempoLines::tempo_map_changed()
|
|||
++next;
|
||||
i->second->property_x1() = - d;
|
||||
i->second->property_x2() = - d;
|
||||
ArdourCanvas::SimpleLine* f = i->second;
|
||||
_lines.erase(i);
|
||||
_lines.insert(make_pair(- d, i->second));
|
||||
_lines.insert(make_pair(- d, f));
|
||||
i = next;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue