summaryrefslogtreecommitdiff
path: root/wm/blackbox/patches/patch-ae
blob: 1c1be7d2a9a8a47263dd34f3a485ce101867cd5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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(); }