all repos — openbox @ 3de18ef7f03a1f462f88663746aa6946d05cc4c3

openbox fork - make it a bit more like ryudo

prevent people from using timers except as pointers
Dana Jansens danakj@orodu.net
commit

3de18ef7f03a1f462f88663746aa6946d05cc4c3

parent

3240c1d94ea952b6a4b14ab234d5fd7a906b3dc2

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M otk/timer.hhotk/timer.hh

@@ -73,6 +73,9 @@ @param msec Number of milliseconds to increment by.

*/ static void timevalAdd(timeval &a, long msec); + // prevent people from using timers except as pointers + ~Timer() {} + public: //! Constructs a new running timer and queues it /*!