No Go To
This commit is contained in:
parent
5bef5dcb04
commit
b161e10b73
@ -289,10 +289,12 @@ LaneDataVector handleNoneValueAtSimpleTurn(LaneDataVector lane_data,
|
|||||||
//
|
//
|
||||||
if (connection_count + 1 != lane_data.size())
|
if (connection_count + 1 != lane_data.size())
|
||||||
{
|
{
|
||||||
goto these_intersections_are_clearly_broken_at_the_moment;
|
// skip broken intersections
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lane_data = mergeNoneTag(none_index, std::move(lane_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
lane_data = mergeNoneTag(none_index, std::move(lane_data));
|
|
||||||
}
|
}
|
||||||
// we have to rename and possibly augment existing ones. The pure count remains the
|
// we have to rename and possibly augment existing ones. The pure count remains the
|
||||||
// same.
|
// same.
|
||||||
@ -301,8 +303,6 @@ LaneDataVector handleNoneValueAtSimpleTurn(LaneDataVector lane_data,
|
|||||||
lane_data = handleRenamingSituations(none_index, std::move(lane_data), intersection);
|
lane_data = handleRenamingSituations(none_index, std::move(lane_data), intersection);
|
||||||
}
|
}
|
||||||
|
|
||||||
these_intersections_are_clearly_broken_at_the_moment:
|
|
||||||
|
|
||||||
// finally make sure we are still sorted
|
// finally make sure we are still sorted
|
||||||
std::sort(lane_data.begin(), lane_data.end());
|
std::sort(lane_data.begin(), lane_data.end());
|
||||||
return lane_data;
|
return lane_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user