Fix formating for cherry-picked commit

This commit is contained in:
Patrick Niklaus 2017-03-09 12:05:01 +00:00
parent 66cc99703c
commit cc0c28f366
2 changed files with 10 additions and 6 deletions

View File

@ -558,7 +558,8 @@ Status TilePlugin::HandleRequest(const std::shared_ptr<const datafacade::BaseDat
const auto sum_node_weight = std::accumulate(approach_weight_vector.begin(), const auto sum_node_weight = std::accumulate(approach_weight_vector.begin(),
approach_weight_vector.end(), approach_weight_vector.end(),
EdgeWeight{0}); EdgeWeight{0});
const auto sum_node_duration = std::accumulate(approach_duration_vector.begin(), const auto sum_node_duration =
std::accumulate(approach_duration_vector.begin(),
approach_duration_vector.end(), approach_duration_vector.end(),
EdgeWeight{0}); EdgeWeight{0});
@ -619,8 +620,11 @@ Status TilePlugin::HandleRequest(const std::shared_ptr<const datafacade::BaseDat
// Save everything we need to later add all the points to the tile. // Save everything we need to later add all the points to the tile.
// We need the coordinate of the intersection, the angle in, the turn // We need the coordinate of the intersection, the angle in, the turn
// angle and the turn cost. // angle and the turn cost.
all_turn_data.emplace_back( all_turn_data.emplace_back(coord_via,
coord_via, angle_in_index, turn_angle_index, turn_weight_index, turn_duration_index); angle_in_index,
turn_angle_index,
turn_weight_index,
turn_duration_index);
} }
} }
} }