clean-up unused headers, use NoTurn for ferries instead of suppressed
This commit is contained in:
committed by
Daniel J. H
parent
9af67c5a9f
commit
b9b52cb857
@@ -1,6 +1,5 @@
|
||||
#include "extractor/guidance/intersection_handler.hpp"
|
||||
#include "extractor/guidance/constants.hpp"
|
||||
#include "extractor/travel_mode.hpp"
|
||||
|
||||
#include "util/coordinate_calculation.hpp"
|
||||
#include "util/guidance/name_announcements.hpp"
|
||||
|
||||
@@ -57,7 +57,8 @@ operator()(const NodeID, const EdgeID, Intersection intersection) const
|
||||
|
||||
std::for_each(first, last, [&](auto &road) {
|
||||
const auto modifier = road.instruction.direction_modifier;
|
||||
const auto type = TurnType::Suppressed;
|
||||
// use NoTurn, to not even have it as an IntermediateIntersection
|
||||
const auto type = TurnType::NoTurn;
|
||||
|
||||
road.instruction = {type, modifier};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user