Removing superflous line

This commit is contained in:
Dennis Luxen 2012-09-18 23:39:27 +02:00
parent aef6d1795e
commit a8a0d1b216

View File

@ -89,9 +89,8 @@ EdgeBasedGraphFactory::EdgeBasedGraphFactory(int nodes, std::vector<NodeBasedEdg
}
}
std::vector<NodeBasedEdge>().swap(inputEdges);
//std::vector<_NodeBasedEdge>(edges).swap(edges);
std::sort( edges.begin(), edges.end() );
//TODO: move to make_shared
_nodeBasedGraph.reset(new _NodeBasedDynamicGraph( nodes, edges ));
}