summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-18 02:23:28 -0500
committerDavid Robillard <d@drobilla.net>2014-11-18 02:53:27 -0500
commit9aec0c627d48ba352d41e6a63995bc0d055ec485 (patch)
tree358b168a95f08dfd31e8876d66281a28a4861c56 /libs/ardour/region.cc
parentaabde88de0b22e029de394e2d23daa5a0be93650 (diff)
Fix Region::verify_length() so it actually does something.
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 1784cdbf3c..2e5d95be9f 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -1515,7 +1515,7 @@ Region::source_length(uint32_t n) const
}
bool
-Region::verify_length (framecnt_t len)
+Region::verify_length (framecnt_t& len)
{
if (source() && (source()->destructive() || source()->length_mutable())) {
return true;