mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
region: in definition of ::end() use a slightly faster but entirely equivalent expression
This commit is contained in:
parent
7d0b223330
commit
c4f8c84a75
1 changed files with 1 additions and 1 deletions
|
|
@ -2197,7 +2197,7 @@ Region::end() const
|
||||||
/* one day we might want to enforce _position, _start and _length (or
|
/* one day we might want to enforce _position, _start and _length (or
|
||||||
some combination thereof) all being in the same time domain.
|
some combination thereof) all being in the same time domain.
|
||||||
*/
|
*/
|
||||||
return position() + _length.val();
|
return _length.val().end();
|
||||||
}
|
}
|
||||||
|
|
||||||
timepos_t
|
timepos_t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue