]> git.tdb.fi Git - r2c2.git/commitdiff
Assign delay in TrainRoutingState copy-constructor
authorMikko Rasa <tdb@tdb.fi>
Sat, 29 Mar 2014 11:38:11 +0000 (13:38 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 29 Mar 2014 11:38:11 +0000 (13:38 +0200)
source/libr2c2/trainrouteplanner.cpp

index b98b37e7ee1b2c9b41d6b4a0c41a7f545052f03b..cc69e3c2020bf856cd705200124fe9cff29e1c4a 100644 (file)
@@ -265,6 +265,7 @@ TrainRoutePlanner::TrainRoutingState::TrainRoutingState(const TrainRoutingState
        offset(other.offset),
        back_offset(other.back_offset),
        state(other.state),
+       delay(other.delay),
        waypoint(other.waypoint)
 {
        ++occupied_tracks->refcount;