~ubuntu-branches/ubuntu/vivid/aptitude/vivid

« back to all changes in this revision

Viewing changes to src/generic/util/dynamic_list_collection.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2012-06-29 01:48:31 UTC
  • Revision ID: package-import@ubuntu.com-20120629014831-7yxujv9gswyo2hac
Tags: 0.6.6-1ubuntu2
Fix FTBFS with gcc-4.7 (LP: #1007969)

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
 
255
255
      const std::size_t insert_idx = insert_location - concrete_view.begin();
256
256
      concrete_view.insert(insert_location, cell(list, idx, value));
257
 
      signal_inserted(value, insert_idx);
 
257
      this->signal_inserted(value, insert_idx);
258
258
    }
259
259
 
260
260
    template<typename T>
316
316
          // removal BEFORE removing it!
317
317
          const std::size_t remove_idx = remove_location - concrete_view.begin();
318
318
          concrete_view.erase(remove_location);
319
 
          signal_removed(value, remove_idx);
 
319
          this->signal_removed(value, remove_idx);
320
320
        }
321
321
    }
322
322
 
412
412
        relocate_target = to_location;
413
413
 
414
414
      concrete_view.relocate(relocate_target, from_location);
415
 
      signal_moved(value, from_idx, to_idx);
 
415
      this->signal_moved(value, from_idx, to_idx);
416
416
    }
417
417
 
418
418
    template<typename T>