Skip to content

Commit bd7cb8f

Browse files
committed
another fix
1 parent 6aa5d43 commit bd7cb8f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/routing/a_star/a_star_search.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ void a_star_search::reconstruct(query const& q, journey& j) {
196196
location_idx_t first_location_on_current_trip{0};
197197
stop_idx_t first_stop_on_current_trip{0};
198198
tb::segment_idx_t first_segment_on_current_trip{0};
199-
for (auto i = std::size_t{0}; i < path_segments.size(); ++i) {
199+
for (vector<tb::segment_idx_t>::access_type i = 0; i < path_segments.size();
200+
++i) {
200201
tb::segment_idx_t seg = path_segments[i];
201202
auto [start_location, end_location] = get_segment_locations(seg);
202203

0 commit comments

Comments
 (0)