prevent people from using timers except as pointers
authorDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 20:02:43 +0000 (20:02 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 20:02:43 +0000 (20:02 +0000)
otk/timer.hh

index 556475c..7e40aed 100644 (file)
@@ -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
   /*!