Guards against no lanes for lanes left and right of turn, resolves #3518

This commit is contained in:
Daniel J. Hofmann
2017-01-04 17:09:44 +01:00
committed by Moritz Kobitzsch
parent f6fef5c166
commit 5100f2cc7b
3 changed files with 39 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class LaneTuple
bool operator!=(const LaneTuple other) const;
LaneID lanes_in_turn;
LaneID first_lane_from_the_right;
LaneID first_lane_from_the_right; // is INVALID_LANEID when no lanes present
friend std::size_t hash_value(const LaneTuple &tup)
{