mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Assert to check for memory overwrite.
git-svn-id: svn://localhost/ardour2/branches/3.0@5489 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9bada9c946
commit
74339e70c9
1 changed files with 1 additions and 0 deletions
|
|
@ -397,6 +397,7 @@ Mixer_UI::sync_order_keys (string const & src)
|
|||
int old_key = order;
|
||||
int new_key = route->order_key (N_("signal"));
|
||||
|
||||
assert (new_key < neworder.size());
|
||||
neworder[new_key] = old_key;
|
||||
|
||||
if (new_key != old_key) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue