From 3de18ef7f03a1f462f88663746aa6946d05cc4c3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 20:02:43 +0000 Subject: [PATCH] prevent people from using timers except as pointers --- otk/timer.hh | 3 +++ 1 file changed, 3 insertions(+) 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 /*! -- 2.39.2