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
@ -48,8 +48,9 @@ TempoLines::tempo_map_changed()
|
|||||||
++next;
|
++next;
|
||||||
i->second->property_x1() = - d;
|
i->second->property_x1() = - d;
|
||||||
i->second->property_x2() = - d;
|
i->second->property_x2() = - d;
|
||||||
|
ArdourCanvas::SimpleLine* f = i->second;
|
||||||
_lines.erase(i);
|
_lines.erase(i);
|
||||||
_lines.insert(make_pair(- d, i->second));
|
_lines.insert(make_pair(- d, f));
|
||||||
i = next;
|
i = next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user