diff --git a/libs/ardour/ardour/automation_event.h b/libs/ardour/ardour/automation_event.h index 7918845efa..1a3918b3e2 100644 --- a/libs/ardour/ardour/automation_event.h +++ b/libs/ardour/ardour/automation_event.h @@ -115,10 +115,6 @@ class AutomationList : public PBD::StatefulDestructible AutomationList* copy (double, double); void clear (double, double); - AutomationList* cut (iterator, iterator); - AutomationList* copy (iterator, iterator); - void clear (iterator, iterator); - bool paste (AutomationList&, double position, float times); void set_automation_state (AutoState); diff --git a/libs/ardour/automation_event.cc b/libs/ardour/automation_event.cc index 6d7476c08e..107155ca67 100644 --- a/libs/ardour/automation_event.cc +++ b/libs/ardour/automation_event.cc @@ -1069,34 +1069,6 @@ AutomationList::multipoint_eval (double x) return (*range.first)->value; } -AutomationList* -AutomationList::cut (iterator start, iterator end) -{ - AutomationList* nal = new AutomationList (default_value); - - { - Glib::Mutex::Lock lm (lock); - - for (iterator x = start; x != end; ) { - iterator tmp; - - tmp = x; - ++tmp; - - nal->events.push_back (point_factory (**x)); - events.erase (x); - - x = tmp; - } - - mark_dirty (); - } - - maybe_signal_changed (); - - return nal; -} - AutomationList* AutomationList::cut_copy_clear (double start, double end, int op) { @@ -1190,29 +1162,6 @@ AutomationList::cut_copy_clear (double start, double end, int op) } -AutomationList* -AutomationList::copy (iterator start, iterator end) -{ - AutomationList* nal = new AutomationList (default_value); - - { - Glib::Mutex::Lock lm (lock); - - for (iterator x = start; x != end; ) { - iterator tmp; - - tmp = x; - ++tmp; - - nal->events.push_back (point_factory (**x)); - - x = tmp; - } - } - - return nal; -} - AutomationList* AutomationList::cut (double start, double end) {