summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-10-26 15:41:47 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-10-26 15:41:47 -0400
commit997f70d9cbeb0d1a085cc7495e0a6df7721a4ab5 (patch)
treed936d946456edbffd19cdd9f047e0d7c7ea88de2 /gtk2_ardour/time_axis_view.cc
parent1a8ac58c1ac9d34655a975addffb85e683f4a77d (diff)
switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r--gtk2_ardour/time_axis_view.cc4
1 files changed, 3 insertions, 1 deletions
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 <string>
#include <list>
+#include <boost/smart_ptr/scoped_ptr.hpp>
+
#include <gtkmm/separator.h>
#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<Gtk::Entry> an_entry (new FocusEntry);
+ boost::scoped_ptr<Gtk::Entry> an_entry (new FocusEntry);
an_entry->set_name (X_("TrackNameEditor"));
Gtk::Requisition req;
an_entry->size_request (req);