From: Dana Jansens Date: Mon, 17 Feb 2003 20:02:43 +0000 (+0000) Subject: prevent people from using timers except as pointers X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3de18ef7f03a1f462f88663746aa6946d05cc4c3;p=chaz%2Fopenbox prevent people from using timers except as pointers --- 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 /*!