diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-04 19:09:08 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-04 19:09:08 +0000 |
commit | 478fd92039443743babec98812f10921209f1e5a (patch) | |
tree | bc21b3a94f455415650b836969067474991e87c6 /libs/ardour/ardour | |
parent | 681e7baa89b265a95a0bc47059766abe3a2b5255 (diff) |
Use a shared_ptr for SessionPlaylists so that it can be explicitly destroyed in ~Session to ease debugging.
git-svn-id: svn://localhost/ardour2/branches/3.0@6282 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 0e21d6ff97..4a5fc69be5 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -57,7 +57,6 @@ #include "ardour/location.h" #include "ardour/timecode.h" #include "ardour/interpolation.h" -#include "ardour/session_playlists.h" class XMLTree; class XMLNode; @@ -114,6 +113,7 @@ class SMFSource; class Send; class SessionDirectory; class SessionMetadata; +class SessionPlaylists; class Slave; class Source; class TempoMap; @@ -883,7 +883,7 @@ class Session : public PBD::StatefulDestructible, public SessionEventManager, pu SlaveState slave_state() const { return _slave_state; } - SessionPlaylists playlists; + boost::shared_ptr<SessionPlaylists> playlists; protected: friend class AudioEngine; |