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:
parent
c4d737dd87
commit
27d5843f7a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user