diff options
author | joerg <joerg> | 2006-01-02 21:47:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-02 21:47:43 +0000 |
commit | e63e9db911175d497caec422b71f34d696f6f540 (patch) | |
tree | df9cc56aa6cdbb4bd15ae5417ff3ec3e5248f65e /wm/blackbox/patches | |
parent | 77b07ea7c8839f5d38ddb6483cf09d20150edf62 (diff) | |
download | pkgsrc-e63e9db911175d497caec422b71f34d696f6f540.tar.gz |
Fix template members for GCC 3.4+.
Diffstat (limited to 'wm/blackbox/patches')
-rw-r--r-- | wm/blackbox/patches/patch-ae | 16 |
1 files changed, 16 insertions, 0 deletions
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(); } |