Added more STL slickness

This commit is contained in:
Joel Holdsworth 2008-12-06 18:15:08 +00:00
parent 418bd87419
commit aa9048fa68

View file

@ -219,8 +219,8 @@ void
TimelinePanel::update_notebook()
{
std::map<const model::Sequence*, shared_ptr<TimelineWidget> >
old_pages(notebook_pages);
notebook_pages.clear();
old_pages;
old_pages.swap(notebook_pages);
BOOST_FOREACH( shared_ptr< model::Sequence > sequence,
project->get_sequences() )