mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue