]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainrouteplanner.h
Move duplicated successor step creation code to a function
[r2c2.git] / source / libr2c2 / trainrouteplanner.h
index e3d3770c52a113bf8f4bcb6c813bb381fc899fba..3076c3978efa5ed0b27edae5cec7b4130e72afa7 100644 (file)
@@ -109,6 +109,7 @@ private:
                RoutingStep(const RoutingStep *);
 
                void create_successors(std::list<RoutingStep> &) const;
+               static void create_successor(RoutingStep &, unsigned, unsigned, std::list<RoutingStep> &);
                bool update_states();
                bool check_deadlocks() const;
                int get_occupant(Track &) const;