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, TimerCompare> TimerQ;