]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/train.h
Use RAII for setting the anti-recursion flags
[r2c2.git] / source / libmarklin / train.h
index 319119b93828fd745639a7a37b8c1ae3d6a69794..3e7a56b7e423da7e9d4157d88138fc7e4e4ede85 100644 (file)
@@ -78,6 +78,8 @@ private:
        std::list<BlockRef> cur_blocks;
        std::list<BlockRef> rsv_blocks;
        Block *pending_block;
+       bool reserving;
+       bool advancing;
        Controller *controller;
        Timetable *timetable;
        bool active;