Rewrite Evoral::coverage() to (hopefully) do what it's supposed to. Return OverlapNone for invalid ranges: if either of the ranges passed to Evoral::coverage() have negative length (i.e. start > end), return OverlapNone - it seems reasonable to say that a negative-length range can't overlap anything. Also return OverlapNone from the fallthrough case, though this should never happen. |
||
---|---|---|
.. | ||
evoral | ||
MSVCevoral | ||
src | ||
test | ||
run-tests.sh | ||
wscript |