From 5b4e1339866db3be97b00ee11cd19dfa0596efe1 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 20 Oct 2009 19:30:50 +0000 Subject: fix for Issue 18: Class XXX has virtual functions but non-virtual destructor -warnings and other warnings --- source/QXmppPacket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/QXmppPacket.h') diff --git a/source/QXmppPacket.h b/source/QXmppPacket.h index 95f698fb..c123899f 100644 --- a/source/QXmppPacket.h +++ b/source/QXmppPacket.h @@ -32,7 +32,7 @@ class QXmppPacket { public: QXmppPacket(); - ~QXmppPacket(); + virtual ~QXmppPacket(); QByteArray getXmlReceived() const; virtual void toXml( QXmlStreamWriter *writer ) const = 0; -- cgit v1.2.3