X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Ftimerqueue.hh;h=5a531ebe0723601af5dd5861950a39a88d068c57;hb=b989ec13f7774bdb4b2b8675a65da56cb2fe0ef4;hp=f9237a674960cf78f5db73cebc630b69a2f59b38;hpb=b0a532db8adeb909fa2cd8e518ca6917a2d7df0a;p=chaz%2Fopenbox diff --git a/otk/timerqueue.hh b/otk/timerqueue.hh index f9237a67..5a531ebe 100644 --- a/otk/timerqueue.hh +++ b/otk/timerqueue.hh @@ -1,4 +1,4 @@ -// -*- mode: C++; indent-tabs-mode: nil; -*- +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifndef __timerqueue_hh #define __timerqueue_hh @@ -37,13 +37,12 @@ private: }; struct TimerLessThan { - bool operator()(const OBTimer* const l, const OBTimer* const r) const { + bool operator()(const Timer* const l, const Timer* const r) const { return *r < *l; } }; -typedef _timer_queue, TimerLessThan> TimerQueue; +typedef _timer_queue, TimerLessThan> TimerQueue; }