]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Set turnout paths synchronously when allocating blocks
[r2c2.git] / source / libr2c2 / train.h
index 7c388ad7087801fe5928f69cfa9915da43b05d6b..fa638f8d5034390b25388a1fa06b7e125538ef80 100644 (file)
@@ -57,7 +57,6 @@ private:
        std::vector<Vehicle *> vehicles;
        BlockList blocks;
        BlockList::iterator cur_blocks_end;
-       BlockList::iterator clear_blocks_end;
        Block *pending_block;
        Block *stop_at_block;
        bool reserving;
@@ -138,7 +137,6 @@ private:
 public:
        void reserve_more();
 private:
-       void check_turnout_paths(bool);
        float get_reserved_distance_until(const Block *, bool) const;
        void release_blocks();
        void release_blocks(BlockList::iterator, BlockList::iterator);