remove dead code, produce empty route when origin and destination are the same

This commit is contained in:
Dennis Luxen
2014-06-24 16:09:25 +02:00
parent 3b2893944c
commit 0c59ecfa14
2 changed files with 6 additions and 38 deletions
@@ -76,11 +76,6 @@ template <class DataFacadeT> class AlternativeRouting : private BasicRoutingInte
void operator()(const PhantomNodes &phantom_node_pair, RawRouteData &raw_route_data)
{
if (phantom_node_pair.PhantomNodesHaveEqualLocation())
{
return;
}
std::vector<NodeID> alternative_path;
std::vector<NodeID> via_node_candidate_list;
std::vector<SearchSpaceEdge> forward_search_space;