MessageSessionHandler virtual destructor patch
From: Vincent Thomasset <vincent.thomasset@xxxxxxxxx>
Date: Sat, 11 Nov 2006 15:05:30 +0100
Hi,

GCC complains about the fact the MSH does not have a virtual dtor but
virtual functions. Here's a patch to remove the warning and make it do
the correct thing in case of inheritance of MSH.

Cheers,
Vincent
--- gloox-0.8.4-sic/src/messagesessionhandler.h 2006-07-28 12:04:43.000000000 
+0200
+++ gloox-0.8.5-sic/src/messagesessionhandler.h 2006-11-11 16:05:41.000000000 
+0100
@@ -49,6 +49,7 @@
        * @param session The new MessageSession.
        */
       virtual void handleMessageSession( MessageSession *session ) = 0;
+      virtual ~MessageSessionHandler() {}
   };
 
 }
-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx