diff options
author | clive <clive@FreeBSD.org> | 2004-08-01 09:17:58 +0000 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2004-08-01 09:17:58 +0000 |
commit | 3600a64e887bf621d90a4566c4e9e86fe92ce649 (patch) | |
tree | b3f3586c4ec5273769cfa007b3484713e5d1908a /x11-wm/boxtools | |
parent | 1eca1e8c138253d45c7c1fbb40cca4a6d47fb0b9 (diff) | |
download | FreeBSD-ports-3600a64e887bf621d90a4566c4e9e86fe92ce649.zip FreeBSD-ports-3600a64e887bf621d90a4566c4e9e86fe92ce649.tar.gz |
Post gcc 3.4.2 fixup.
Obtained From: google
Diffstat (limited to 'x11-wm/boxtools')
-rw-r--r-- | x11-wm/boxtools/files/patch-src::Timer.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/boxtools/files/patch-src::Timer.hh b/x11-wm/boxtools/files/patch-src::Timer.hh new file mode 100644 index 0000000..89b27ec --- /dev/null +++ b/x11-wm/boxtools/files/patch-src::Timer.hh @@ -0,0 +1,15 @@ +--- src/Timer.hh~ Sun Aug 1 17:13:29 2004 ++++ src/Timer.hh Sun Aug 1 17:14:13 2004 +@@ -98,9 +98,10 @@ + ~_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(); } |