]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: virtual destructor for class Timer
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Feb 2009 23:41:36 +0000 (15:41 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 19 Feb 2009 23:43:16 +0000 (15:43 -0800)
src/common/Timer.h

index 515371c4d843bdf6676ee3373d7b83e330f074d4..bd1543de295866b8dad4826ca3ac657d3c3ce60e 100644 (file)
@@ -94,7 +94,7 @@ class Timer {
     num_event(0)
   { 
   }
-  ~Timer() { 
+  virtual ~Timer() {
     // stop.
     cancel_timer();