From eaa10afa0329349ed16868bd982517c03f570ec5 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 14 May 2006 13:08:10 +0000 Subject: [PATCH] Make gcc 4 happy --- callback.h | 1 + draintarget.cc | 2 +- thread.h | 1 + timerreceiver.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/callback.h b/callback.h index 01d5a23..38f2361 100644 --- a/callback.h +++ b/callback.h @@ -24,6 +24,7 @@ class Callback { public: + virtual ~Callback() {} virtual void call(void* caller)=0; }; diff --git a/draintarget.cc b/draintarget.cc index 25b89e4..8dd74a4 100644 --- a/draintarget.cc +++ b/draintarget.cc @@ -24,4 +24,4 @@ DrainTarget::DrainTarget(){ } DrainTarget::~DrainTarget(){ -} \ No newline at end of file +} diff --git a/thread.h b/thread.h index 0cb639a..16178e0 100644 --- a/thread.h +++ b/thread.h @@ -51,6 +51,7 @@ class Thread public: Thread(); + virtual ~Thread() {} void threadInternalStart2(); }; diff --git a/timerreceiver.h b/timerreceiver.h index 4c37401..68e5064 100755 --- a/timerreceiver.h +++ b/timerreceiver.h @@ -24,6 +24,7 @@ class TimerReceiver { public: + virtual ~TimerReceiver() {} virtual void timercall(int clientReference)=0; }; -- 2.39.5