diff options
author | Carl Hetherington <carl@carlh.net> | 2011-04-20 01:24:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-04-20 01:24:17 +0000 |
commit | ee697bef967d457cb65e2161c2a71cbeac4d16ba (patch) | |
tree | 627e33cf7057e70184d6e75e7554057417fcfebb /libs/ardour/automation_list.cc | |
parent | 51e368f3f09f4e7ffe8092274ee38f25cc64768e (diff) |
Add assert.
git-svn-id: svn://localhost/ardour2/branches/3.0@9385 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r-- | libs/ardour/automation_list.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |