Use shared_ptr for the TimeAxisView hierarchy.

git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-07-09 13:39:45 +00:00
parent 0f8031da06
commit 4297071b3f
71 changed files with 1102 additions and 879 deletions

View file

@ -22,6 +22,7 @@
#include <list>
#include "ardour/types.h"
#include "shared_ptrs.h"
namespace ARDOUR {
class RouteGroup;
@ -41,7 +42,7 @@ struct TimeSelection : public std::list<ARDOUR::AudioRange> {
the group.
*/
TimeAxisView* track;
TimeAxisViewPtr track;
ARDOUR::RouteGroup* group;
ARDOUR::AudioRange& operator[](uint32_t);