remove superflous check
This commit is contained in:
parent
f8ba4b9312
commit
1090325c31
@ -51,15 +51,6 @@ template <class DataFacadeT> class ShortestPathRouting : public BasicRoutingInte
|
||||
void operator()(const std::vector<PhantomNodes> &phantom_nodes_vector,
|
||||
RawRouteData &raw_route_data) const
|
||||
{
|
||||
if(std::any_of(begin(phantom_nodes_vector),
|
||||
end(phantom_nodes_vector),
|
||||
[](PhantomNodes phantom_node_pair)
|
||||
{ return phantom_node_pair.AtLeastOnePhantomNodeIsInvalid(); }))
|
||||
{
|
||||
BOOST_ASSERT(false);
|
||||
return;
|
||||
}
|
||||
|
||||
int distance1 = 0;
|
||||
int distance2 = 0;
|
||||
bool search_from_1st_node = true;
|
||||
|
Loading…
Reference in New Issue
Block a user