all repos — openbox @ c4427cc1f338a6b754038929e0ec78e8148e04b0

openbox fork - make it a bit more like ryudo

give access to _timeout for shitty compilers in TimerCompare
Dana Jansens danakj@orodu.net
commit

c4427cc1f338a6b754038929e0ec78e8148e04b0

parent

8152d453298bc3747ddcdcfa645b33afae7dc10e

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M otk/timer.hhotk/timer.hh

@@ -42,6 +42,7 @@ inline bool operator()(const Timer *a, const Timer *b) const {

return timercmp(&a->_timeout, &b->_timeout, >); } }; + friend struct TimerCompare; // give access to _timeout for shitty compilers typedef std::priority_queue<Timer*, std::vector<Timer*>, TimerCompare> TimerQ;