From: Mikko Rasa Date: Thu, 13 Sep 2012 21:47:31 +0000 (+0300) Subject: Avoid invoking callbacks of a deleted object X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=e352b6c33142c531e12dfe87cc25e5f1510731de;p=libs%2Fcore.git Avoid invoking callbacks of a deleted object --- diff --git a/source/io/zlibcompressed.h b/source/io/zlibcompressed.h index feb21c6..fa7a153 100644 --- a/source/io/zlibcompressed.h +++ b/source/io/zlibcompressed.h @@ -3,6 +3,7 @@ #include #include +#include #include "base.h" namespace Msp { @@ -27,7 +28,7 @@ operates on top of another I/O object. To ensure proper termination of the compressed data stream, the ZlibCompressed object must be destroyed before the underlying object is closed. */ -class ZlibCompressed: public Base +class ZlibCompressed: public Base, public sigc::trackable { private: struct Private;