region: in definition of ::end() use a slightly faster but entirely equivalent expression
This commit is contained in:
parent
7d0b223330
commit
c4f8c84a75
@ -2197,7 +2197,7 @@ Region::end() const
|
||||
/* one day we might want to enforce _position, _start and _length (or
|
||||
some combination thereof) all being in the same time domain.
|
||||
*/
|
||||
return position() + _length.val();
|
||||
return _length.val().end();
|
||||
}
|
||||
|
||||
timepos_t
|
||||
|
Loading…
Reference in New Issue
Block a user