From: Dana Jansens Date: Mon, 17 Feb 2003 20:02:43 +0000 (+0000) Subject: prevent people from using timers except as pointers X-Git-Tag: openbox-3_0-rc1-RELEASE~2049 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=3de18ef7f03a1f462f88663746aa6946d05cc4c3;p=mikachu%2Fopenbox.git 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 /*!