]> git.tdb.fi Git - libs/core.git/commitdiff
Derive Slice from sigc::trackable as it connects to external signals
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 09:20:59 +0000 (12:20 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 09:20:59 +0000 (12:20 +0300)
source/io/slice.h

index f6115851c4c4c0637dcc262191c15e51cdcec81c..bcfef502343a23da7761f8b00caabda00705b789 100644 (file)
@@ -16,7 +16,7 @@ its range.  If the offset of the underlying object is changed, the Slice will
 restore it before the next access.  This enables multiple Slices to be created
 on top of the same object.
 */
 restore it before the next access.  This enables multiple Slices to be created
 on top of the same object.
 */
-class Slice: public Seekable
+class Slice: public Seekable, public sigc::trackable
 {
 private:
        Seekable &below;
 {
 private:
        Seekable &below;