Fix missing virtual destructors.
authorDavid Robillard <d@drobilla.net>
Tue, 7 Sep 2010 21:26:37 +0000 (21:26 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 7 Sep 2010 21:26:37 +0000 (21:26 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7753 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/track_selection.cc
gtk2_ardour/track_selection.h
gtk2_ardour/track_view_list.cc
gtk2_ardour/track_view_list.h
libs/ardour/ardour/graphnode.h
libs/ardour/ardour/public_diskstream.h
libs/ardour/graphnode.cc

index 95ca1253b89fa3a61391948494056d6a19868274..92efbd48633341a2dac34d602bc96d33550ff1a9 100755 (executable)
@@ -29,7 +29,10 @@ TrackSelection::TrackSelection (PublicEditor const * e, TrackViewList const &t)
        : TrackViewList (t)
        , _editor (e)
 {
+}
 
+TrackSelection::~TrackSelection ()
+{
 }
 
 TrackViewList
index d39101f981474e680b430d98b7b357863ee5446e..4fb11873692e6e4ec2748f37302f3bb4adc57b4a 100644 (file)
@@ -29,6 +29,8 @@ class TrackSelection : public TrackViewList
 public:
        TrackSelection (PublicEditor const * e) : _editor (e) {}
        TrackSelection (PublicEditor const *, TrackViewList const &);
+
+       virtual ~TrackSelection ();
        
        TrackViewList add (TrackViewList const &);
 
index 343a6f10b0a4fa2677e5d2da69f75294c2c75dcf..cc29a57521476f6ce5231867d34cec8611cb10f5 100755 (executable)
@@ -25,7 +25,10 @@ using namespace std;
 TrackViewList::TrackViewList (list<TimeAxisView*> const & t)
        : list<TimeAxisView*> (t)
 {
+}
 
+TrackViewList::~TrackViewList ()
+{
 }
 
 bool
index b8a9b54fef65ad77d76b89d380f39ef2756bfc10..0feddec90331ac296a02718cf333edfef04b69bf 100755 (executable)
@@ -30,6 +30,8 @@ public:
        TrackViewList () {}
        TrackViewList (std::list<TimeAxisView*> const &);
 
+       virtual ~TrackViewList ();
+
        virtual TrackViewList add (TrackViewList const &);
        bool contains (TimeAxisView const *) const;
 };
index e5f2a78452f32218885683d1f361960713f2a416..5c7097e91fe19cea24d4d569d87b9485be767922 100644 (file)
@@ -41,6 +41,7 @@ class GraphNode
 {
     public:
        GraphNode( boost::shared_ptr<Graph> Graph );
+       virtual ~GraphNode();
 
        void prep( int chain );
        void dec_ref();
index 5c2c6d9fc60141f183cfc7226276383924c4c3fa..e0cf9ef7fab2823b901e9e3f8356e3690c75996b 100755 (executable)
@@ -30,6 +30,7 @@ class Location;
 class PublicDiskstream
 {
 public:
+       virtual ~PublicDiskstream() {}
 
        virtual boost::shared_ptr<Playlist> playlist () = 0;
        virtual void monitor_input (bool) = 0;
index cfcea4d72640f703fec5874dcafb103d15c26913..7c0bc936d7d3759993cfce41e5e28173ec8cf96f 100644 (file)
@@ -29,6 +29,10 @@ GraphNode::GraphNode (graph_ptr_t graph)
 { 
 }
 
+GraphNode::~GraphNode()
+{
+}
+
 void
 GraphNode::prep (int chain)
 {