diff options
| -rw-r--r-- | otk/timer.hh | 1 |
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; |
