mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
633 B

  1. --- ./src/Timer.hh.orig 2004-05-14 11:14:47.822257792 +0200
  2. +++ ./src/Timer.hh 2004-05-14 11:16:53.078215992 +0200
  3. @@ -98,9 +98,9 @@
  4. ~_timer_queue(void) {}
  5. void release(const _Tp& value) {
  6. - c.erase(std::remove(c.begin(), c.end(), value), c.end());
  7. + this->c.erase(std::remove(this->c.begin(), this->c.end(), value), this->c.end());
  8. // after removing the item we need to make the heap again
  9. - std::make_heap(c.begin(), c.end(), comp);
  10. + std::make_heap(this->c.begin(), this->c.end(), this->comp);
  11. }
  12. bool empty(void) const { return _Base::empty(); }
  13. size_t size(void) const { return _Base::size(); }