From fc1798c671f9d804899e55e46e04abe3fccb3d7d Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 2 Jan 2006 21:47:43 +0000 Subject: Fix template members for GCC 3.4+. --- wm/blackbox/patches/patch-ae | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wm/blackbox/patches/patch-ae (limited to 'wm/blackbox/patches') diff --git a/wm/blackbox/patches/patch-ae b/wm/blackbox/patches/patch-ae new file mode 100644 index 00000000000..1c1be7d2a9a --- /dev/null +++ b/wm/blackbox/patches/patch-ae @@ -0,0 +1,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(); } -- cgit v1.2.3