Permalink
Browse files

errenous data check broke debug build

  • Loading branch information...
1 parent e839cb4 commit 5e3c8cdd8ecbc8e44abefccb37abafa8096fbf79 DennisOSRM committed Dec 17, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 Contractor/EdgeBasedGraphFactory.cpp
@@ -95,8 +95,6 @@ EdgeBasedGraphFactory::EdgeBasedGraphFactory(int nodes, std::vector<NodeBasedEdg
void EdgeBasedGraphFactory::GetEdgeBasedEdges(DeallocatingVector< EdgeBasedEdge >& outputEdgeList ) {
GUARANTEE(0 == outputEdgeList.size(), "Vector passed to EdgeBasedGraphFactory::GetEdgeBasedEdges(..) is not empty");
- GUARANTEE(0 != edgeBasedEdges.size(), "No edges in edge based graph");
-
edgeBasedEdges.swap(outputEdgeList);
}

0 comments on commit 5e3c8cd

Please sign in to comment.