blob: b3b7f27ed200cf5e94a2b5fa11140092483c49e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.1 2005/09/26 10:15:30 joerg Exp $
--- src/Timer.hh.orig 2005-07-07 14:15:48.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());
+ _Base::c.erase(std::remove(_Base::c.begin(), _Base::c.end(), value), _Base::c.end());
// after removing the item we need to make the heap again
- std::make_heap(c.begin(), c.end(), comp);
+ std::make_heap(_Base::c.begin(), _Base::c.end(), _Base::comp);
}
bool empty(void) const { return _Base::empty(); }
size_t size(void) const { return _Base::size(); }
|