X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Ftimer.hh;h=0ca8be8d83af025e12c44da48b6c5b255f4b4c05;hb=edcd9726300534de19c767f88022ae0fcc7a7b75;hp=e982d82bb4fa56c4313912eb8aa3baec8adc45c0;hpb=a388c41df485e6ac7cfb26231b7ac6be76e3522e;p=chaz%2Fopenbox 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;