]> Dogcows Code - chaz/openbox/commitdiff
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 556475c19296a7828f6bb3314e246d0a20aa69d2..7e40aed73fb83947277ebc2a8cb9c931266bbc61 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
   /*!
This page took 0.024771 seconds and 4 git commands to generate.