From 4dd7b9b34ca74342442dfb2490f7a7080fe03142 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 12 Dec 2011 02:17:17 +0000 Subject: Make TimeAxisView::remove_child virtual so that RouteTimeAxis can override it to also remove the same child from its _automation_tracks list. Prevents a shared_ptr to an out-of-date AutomationTimeAxisView hanging around; fixes #4554. git-svn-id: svn://localhost/ardour2/branches/3.0@10985 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/time_axis_view.h') diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h index 790274c626..9771c8b200 100644 --- a/gtk2_ardour/time_axis_view.h +++ b/gtk2_ardour/time_axis_view.h @@ -267,7 +267,7 @@ class TimeAxisView : public virtual AxisView Children children; bool is_child (TimeAxisView*); - void remove_child (boost::shared_ptr); + virtual void remove_child (boost::shared_ptr); void add_child (boost::shared_ptr); /* selection display */ -- cgit v1.2.3