From c4f8c84a755f293be3594679da580cfa8d09cd49 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Nov 2023 15:06:03 -0600 Subject: [PATCH] region: in definition of ::end() use a slightly faster but entirely equivalent expression --- libs/ardour/region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 5548b09884..370a150930 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -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