summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-23 02:24:19 +0000
committerDana Jansens <danakj@orodu.net>2003-01-23 02:24:19 +0000
commitc4427cc1f338a6b754038929e0ec78e8148e04b0 (patch)
tree9db9ea4a9e0bfcedb96af75f0a59f3a9236f8020
parent8152d453298bc3747ddcdcfa645b33afae7dc10e (diff)
give access to _timeout for shitty compilers in TimerCompare
-rw-r--r--otk/timer.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/otk/timer.hh b/otk/timer.hh
index e982d82b..0ca8be8d 100644
--- 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;