/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2664 by schoenebeck, Sat Jul 5 19:43:14 2014 UTC revision 2666 by schoenebeck, Mon Jul 7 15:01:01 2014 UTC
# Line 2854  void MainWindow::on_samples_to_be_remove Line 2854  void MainWindow::on_samples_to_be_remove
2854      // just in case a new sample is added later with exactly the same memory      // just in case a new sample is added later with exactly the same memory
2855      // address, which would lead to incorrect refcount if not deleted here      // address, which would lead to incorrect refcount if not deleted here
2856      for (std::list<gig::Sample*>::const_iterator it = samples.begin();      for (std::list<gig::Sample*>::const_iterator it = samples.begin();
2857           it != samples.end(); it != samples.end())           it != samples.end(); ++it)
2858      {      {
2859          sample_ref_count.erase(*it);          sample_ref_count.erase(*it);
2860      }      }

Legend:
Removed from v.2664  
changed lines
  Added in v.2666

  ViewVC Help
Powered by ViewVC