summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-17 20:02:43 +0000
committerDana Jansens <danakj@orodu.net>2003-02-17 20:02:43 +0000
commit3de18ef7f03a1f462f88663746aa6946d05cc4c3 (patch)
tree8855908f48debe56a9db76add1aff33898af8df9
parent3240c1d94ea952b6a4b14ab234d5fd7a906b3dc2 (diff)
prevent people from using timers except as pointers
-rw-r--r--otk/timer.hh3
1 files changed, 3 insertions, 0 deletions
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
/*!