Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
51e368f3f0
commit
ee697bef96
@ -226,6 +226,8 @@ AutomationList::stop_touch (bool mark, double when)
|
||||
/* nascent info created in start touch but never used. just get rid of it.
|
||||
*/
|
||||
|
||||
assert (!nascent.empty ());
|
||||
|
||||
NascentInfo* ninfo = nascent.back ();
|
||||
nascent.erase (nascent.begin());
|
||||
delete ninfo;
|
||||
|
Loading…
Reference in New Issue
Block a user