X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ftimer.hh;h=7e40aed73fb83947277ebc2a8cb9c931266bbc61;hb=3de18ef7f03a1f462f88663746aa6946d05cc4c3;hp=556475c19296a7828f6bb3314e246d0a20aa69d2;hpb=115fedf432d73f17ade48eaa2fa12dfd333bfcaa;p=chaz%2Fopenbox diff --git a/otk/timer.hh b/otk/timer.hh index 556475c1..7e40aed7 100644 --- a/otk/timer.hh +++ b/otk/timer.hh @@ -73,6 +73,9 @@ private: */ 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 /*!