From: David Robillard Date: Sat, 6 Dec 2014 17:19:52 +0000 (-0500) Subject: Fix wacky return type. X-Git-Tag: 4.0-rc1~1113 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=db1fc6c3fa5129f0ac20c6668339c477c8ee9447;p=ardour.git Fix wacky return type. --- diff --git a/gtk2_ardour/automation_streamview.cc b/gtk2_ardour/automation_streamview.cc index 5616cdebdb..6c88e2169e 100644 --- a/gtk2_ardour/automation_streamview.cc +++ b/gtk2_ardour/automation_streamview.cc @@ -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 (); + return false; } AutomationRegionView* arv = dynamic_cast (*prev);