]> Dogcows Code - chaz/openbox/commitdiff
give access to _timeout for shitty compilers in TimerCompare
authorDana Jansens <danakj@orodu.net>
Thu, 23 Jan 2003 02:24:19 +0000 (02:24 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 23 Jan 2003 02:24:19 +0000 (02:24 +0000)
otk/timer.hh

index e982d82bb4fa56c4313912eb8aa3baec8adc45c0..0ca8be8d83af025e12c44da48b6c5b255f4b4c05 100644 (file)
@@ -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;
This page took 0.024383 seconds and 4 git commands to generate.