use shared_ptr for all Playlist handling; cleanup works again

git-svn-id: svn://localhost/ardour2/trunk@1209 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-12-14 14:15:43 +00:00
parent c0924280e9
commit af12adb34f
50 changed files with 723 additions and 542 deletions

View file

@ -150,12 +150,12 @@ Editor::create_named_selection (const string & name)
return;
}
Playlist* what_we_found;
list<Playlist*> thelist;
boost::shared_ptr<Playlist> what_we_found;
list<boost::shared_ptr<Playlist> > thelist;
for (TrackViewList::iterator i = views->begin(); i != views->end(); ++i) {
Playlist *pl = (*i)->playlist();
boost::shared_ptr<Playlist> pl = (*i)->playlist();
if (pl) {