don't emit invalid turns when having u-turns on ferries

This commit is contained in:
Moritz Kobitzsch
2017-01-24 16:11:43 +01:00
parent 445225bf6d
commit c7640903c3
2 changed files with 20 additions and 1 deletions
@@ -52,7 +52,7 @@ bool SuppressModeHandler::canProcess(const NodeID,
Intersection SuppressModeHandler::
operator()(const NodeID, const EdgeID, Intersection intersection) const
{
const auto first = begin(intersection) + 1;
const auto first = begin(intersection);
const auto last = end(intersection);
std::for_each(first, last, [&](auto &road) {