comparison base/Pitch.cpp @ 1866:b4b11af915f4

If duration < 0, swap start time and duration rather than throwing an exception - this is too deep to be throwing an exception here, we end up with bugs like #1989 (Crash when trying to import CSV file with certain unexpected data in it) - and the meaning of negative duration is not actually ambiguous
author Chris Cannam
date Thu, 11 Jun 2020 14:07:56 +0100
parents 48e9f538e6e9
children
comparison
equal deleted inserted replaced
1863:14bf9bf5ac28 1866:b4b11af915f4