Fixing direction of edges.

This commit is contained in:
DennisOSRM
2012-03-08 11:35:40 +01:00
parent 164e1be018
commit 3ea1461839
2 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ NodeID readBinaryOSRMGraphFromStream(std::istream &in, std::vector<EdgeT>& edgeL
std::vector<ImportEdge>::iterator newEnd = std::remove_if(edgeList.begin(), edgeList.end(), _ExcessRemover<EdgeT>());
ext2IntNodeMap.clear();
std::vector<ImportEdge>(edgeList.begin(), newEnd).swap(edgeList); //remove excess candidates.
INFO("Graph loaded ok");
INFO("Graph loaded ok and has " << edgeList.size() << " edges");
return n;
}
template<typename EdgeT>