X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ftimer.hh;h=dc2917f17d13365db06b41fb6931de8208118721;hb=e4fe6da48c7ddb14639ab91f8532e89b16e72deb;hp=7e40aed73fb83947277ebc2a8cb9c931266bbc61;hpb=3de18ef7f03a1f462f88663746aa6946d05cc4c3;p=chaz%2Fopenbox diff --git a/otk/timer.hh b/otk/timer.hh index 7e40aed7..dc2917f1 100644 --- a/otk/timer.hh +++ b/otk/timer.hh @@ -73,9 +73,6 @@ 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 /*! @@ -106,10 +103,10 @@ public: static bool nearestTimeout(struct timeval &tm); //! Initializes internal data before use - static void initialize(void); + static void initialize(); //! Deletes all waiting timers - static void destroy(void); + static void destroy(); }; }