From c4427cc1f338a6b754038929e0ec78e8148e04b0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 Jan 2003 02:24:19 +0000 Subject: [PATCH] give access to _timeout for shitty compilers in TimerCompare --- otk/timer.hh | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2