[telepathy-qt4/master] ReadyObject: Make destructor virtual as we have virtual methods.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Apr 13 22:38:13 PDT 2009


---
 TelepathyQt4/ready-object.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/ready-object.h b/TelepathyQt4/ready-object.h
index d329968..8af66a5 100644
--- a/TelepathyQt4/ready-object.h
+++ b/TelepathyQt4/ready-object.h
@@ -43,7 +43,7 @@ class ReadyObject
 
 public:
     ReadyObject(QObject *object, const Feature &featureCore);
-    ~ReadyObject();
+    virtual ~ReadyObject();
 
     virtual bool isReady(const Features &features = Features()) const;
     virtual PendingReady *becomeReady(const Features &requestedFeatures = Features());
-- 
1.5.6.5



More information about the telepathy-commits mailing list