comparison base/ZoomLevel.h @ 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 8f9e9cff141d
children 1ae6a19464a7
comparison
equal deleted inserted replaced
1863:14bf9bf5ac28 1866:b4b11af915f4