Fix wacky return type.

This commit is contained in:
David Robillard 2014-12-06 12:19:52 -05:00
parent 82be2325d9
commit db1fc6c3fa
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ AutomationStreamView::paste (framepos_t pos,
/* If *prev doesn't cover pos, it's no good */
if (r->position() > pos || ((r->position() + r->length()) < pos)) {
return boost::shared_ptr<AutomationLine> ();
return false;
}
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*> (*prev);