Skip to content

Commit

Permalink
dummy legs: fill scheduled times
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jan 29, 2025
1 parent b7ea214 commit 994cb10
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/street_routing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ api::Itinerary dummy_itinerary(api::Place const& from,
start_time)
.count(),
.startTime_ = start_time,
.endTime_ = end_time});
leg.from_.departure_ = leg.startTime_;
leg.to_.arrival_ = leg.endTime_;
.endTime_ = end_time,
.scheduledStartTime_ = start_time,
.scheduledEndTime_ = end_time});
leg.from_.departure_ = leg.from_.scheduledDeparture_ = leg.startTime_;
leg.to_.arrival_ = leg.to_.scheduledArrival_ = leg.endTime_;
return itinerary;
}

Expand Down

0 comments on commit 994cb10

Please sign in to comment.