13
0

Add assert.

git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-04-20 01:24:17 +00:00
parent 51e368f3f0
commit ee697bef96

View File

@ -225,6 +225,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());