From 43603a98935b00f5cbf4082e15da19d2ba4ee9b5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 11 Mar 2016 17:23:39 +0100 Subject: prepare region/range loudness analysis --- libs/ardour/ardour/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/types.h') diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 97dba38d71..8c47666873 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -318,7 +318,7 @@ namespace ARDOUR { AudioRange (framepos_t s, framepos_t e, uint32_t i) : start (s), end (e) , id (i) {} - framecnt_t length() { return end - start + 1; } + framecnt_t length() const { return end - start + 1; } bool operator== (const AudioRange& other) const { return start == other.start && end == other.end && id == other.id; -- cgit v1.2.3