Fix wacky return type.
authorDavid Robillard <d@drobilla.net>
Sat, 6 Dec 2014 17:19:52 +0000 (12:19 -0500)
committerDavid Robillard <d@drobilla.net>
Sat, 6 Dec 2014 17:19:52 +0000 (12:19 -0500)
gtk2_ardour/automation_streamview.cc

index 5616cdebdbee67679590857d3c76689c52c427e6..6c88e2169e02388617a7d638a954d7f6643d8ea1 100644 (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);