projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8152d45
)
give access to _timeout for shitty compilers in TimerCompare
author
Dana Jansens
<danakj@orodu.net>
Thu, 23 Jan 2003 02:24:19 +0000
(
02:24
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 23 Jan 2003 02:24:19 +0000
(
02:24
+0000)
otk/timer.hh
patch
|
blob
|
history
diff --git
a/otk/timer.hh
b/otk/timer.hh
index
e982d82
..
0ca8be8
100644
(file)
--- a/
otk/timer.hh
+++ b/
otk/timer.hh
@@
-42,6
+42,7
@@
private:
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;