diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index f61ee95608..6a4ae6482b 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -23,6 +23,8 @@ #include #include +#include + #include #include "pbd/error.h" @@ -149,7 +151,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie set_tooltip (name_label, _("Track/Bus name (double click to edit)")); { - std::auto_ptr an_entry (new FocusEntry); + boost::scoped_ptr an_entry (new FocusEntry); an_entry->set_name (X_("TrackNameEditor")); Gtk::Requisition req; an_entry->size_request (req);