From ee697bef967d457cb65e2161c2a71cbeac4d16ba Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 20 Apr 2011 01:24:17 +0000 Subject: [PATCH] Add assert. git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automation_list.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index 5f18bbcebb..1cda99d763 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -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());