mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
c0924280e9
commit
af12adb34f
50 changed files with 723 additions and 542 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue