Manual modernize run with LLVM 3.8

More is blocked by:
- https://github.com/Project-OSRM/osrm-backend/issues/2631
This commit is contained in:
Daniel J. Hofmann
2016-07-07 12:45:24 +02:00
parent f4db79fe9b
commit b00b15ab98
7 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ Intersection triviallyMatchLanesToTurns(Intersection intersection,
DirectionModifier::SharpLeft)
{
// cannot match u-turn in a valid way
return std::move(intersection);
return intersection;
}
u_turn = intersection.size() - 1;
}
@@ -246,7 +246,7 @@ Intersection triviallyMatchLanesToTurns(Intersection intersection,
matchRoad(intersection[u_turn], lane_data.back());
}
return std::move(intersection);
return intersection;
}
} // namespace lane_matching