temporal: replace Range::extent() with Range::length()

We want to encourage/enforce the use of exclusive-end conventions
everywhere in the libraries that make up ardour
This commit is contained in:
Paul Davis 2022-10-07 16:09:38 -06:00
parent c4d737dd87
commit 27d5843f7a

View File

@ -157,7 +157,7 @@ class LIBTEMPORAL_API Range {
* extent semantics: 1 + (end - start)
*/
timecnt_t extent() const { return _start.distance (_end).increment(); }
timecnt_t length() const { return _start.distance (_end); }
RangeList subtract (RangeList &) const;