From 1b59a9ddbe5dc5d0580dd9e1af92483577109f45 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:01:13 +0000 Subject: Utilisateur : Fcolin Date : 16/06/00 Heure : 10:51 Archivé dans $/Ivy Commentaire: bug a la destruction des callbacks --> virtual destructor classe de base (vss 2) --- Bus/Ivy/IvyCallback.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bus/Ivy/IvyCallback.h b/Bus/Ivy/IvyCallback.h index 4a41b9a..bbcaa11 100644 --- a/Bus/Ivy/IvyCallback.h +++ b/Bus/Ivy/IvyCallback.h @@ -39,6 +39,9 @@ class IvyApplication; class IvyMessageCallback { public: virtual void OnMessage (IvyApplication *app, int argc, const char **argv )=0; + virtual ~IvyMessageCallback() + { + } }; /* template Class Callback for the normal bus Message */ template class IvyMessageCallbackOf : public IvyMessageCallback { -- cgit v1.1