16 lines
658 B
Text
16 lines
658 B
Text
$NetBSD: patch-ae,v 1.1 2006/01/02 21:47:44 joerg Exp $
|
|
|
|
--- src/Timer.hh.orig 2006-01-02 21:42:01.000000000 +0000
|
|
+++ src/Timer.hh
|
|
@@ -98,9 +98,9 @@ public:
|
|
~_timer_queue(void) {}
|
|
|
|
void release(const _Tp& value) {
|
|
- c.erase(std::remove(c.begin(), c.end(), value), c.end());
|
|
+ this->c.erase(std::remove(this->c.begin(), this->c.end(), value), this->c.end());
|
|
// after removing the item we need to make the heap again
|
|
- std::make_heap(c.begin(), c.end(), comp);
|
|
+ std::make_heap(this->c.begin(), this->c.end(), this->comp);
|
|
}
|
|
bool empty(void) const { return _Base::empty(); }
|
|
size_t size(void) const { return _Base::size(); }
|