13
0

Fix Region::verify_length() so it actually does something.

This commit is contained in:
David Robillard 2014-11-18 02:23:28 -05:00
parent aabde88de0
commit 9aec0c627d
2 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ class LIBARDOUR_API Region
bool verify_start (framepos_t);
bool verify_start_and_length (framepos_t, framecnt_t&);
bool verify_start_mutable (framepos_t&_start);
bool verify_length (framecnt_t);
bool verify_length (framecnt_t&);
virtual void recompute_at_start () = 0;
virtual void recompute_at_end () = 0;

View File

@ -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;