* converted two especially obnoxious assertions into warnings since they hinder my work and nobody seems to care about those issues anyway

git-svn-id: svn://localhost/ardour2/branches/3.0@4309 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Baier 2008-12-12 03:34:36 +00:00
parent 971b8bf7cf
commit ddbd296698
2 changed files with 6 additions and 2 deletions

View file

@ -1080,7 +1080,9 @@ ControlList::rt_safe_earliest_event_linear_unlocked (double start, double end, d
* (Optimize for immediate call this cycle within range) */
_search_cache.left = x;
//++_search_cache.range.first;
assert(inclusive ? x >= start : x > start);
if (! (inclusive ? x >= start : x > start)) {
cerr << "Warning: failed assertion: inclusive ? x >= start : x > start in ControlList.cpp" << endl;
}
return true;
} else {
return false;