diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:15:43 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:15:43 +0000 |
commit | af12adb34f62dc82f694a03ea3b2a6c99ba426ef (patch) | |
tree | 263ecb66462ee561c9e3741799541f0233f82e21 /gtk2_ardour/playlist_selection.h | |
parent | c0924280e9be867253a1b93eb7274e0eb955de5f (diff) |
use shared_ptr for all Playlist handling; cleanup works again
git-svn-id: svn://localhost/ardour2/trunk@1209 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/playlist_selection.h')
-rw-r--r-- | gtk2_ardour/playlist_selection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/playlist_selection.h b/gtk2_ardour/playlist_selection.h index af0031fec9..813f8a9211 100644 --- a/gtk2_ardour/playlist_selection.h +++ b/gtk2_ardour/playlist_selection.h @@ -2,11 +2,12 @@ #define __ardour_gtk_playlist_selection_h__ #include <list> +#include <boost/shared_ptr.hpp> namespace ARDOUR { class Playlist; } -struct PlaylistSelection : list<ARDOUR::Playlist*> {}; +struct PlaylistSelection : list<boost::shared_ptr<ARDOUR::Playlist> > {}; #endif /* __ardour_gtk_playlist_selection_h__ */ |