]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/timetable.h
Plug memory leaks
[r2c2.git] / source / libmarklin / timetable.h
index 39cff5ee6b2b14a077445521783ac2039630acd9..3c76055e712e6d54d82d29bff77b3511da4e0248 100644 (file)
@@ -10,6 +10,7 @@ Distributed under the GPL
 
 #include <string>
 #include <vector>
+#include <sigc++/trackable.h>
 #include <msp/datafile/objectloader.h>
 #include <msp/time/timestamp.h>
 
@@ -18,7 +19,7 @@ namespace Marklin {
 class Block;
 class Train;
 
-class Timetable
+class Timetable: public sigc::trackable
 {
 public:
        class Loader: public Msp::DataFile::ObjectLoader<Timetable>