diff -r b4931ae52069 -r 3f4a04a9b7bf lemon/graph_utils.h --- a/lemon/graph_utils.h Thu Dec 07 16:10:54 2006 +0000 +++ b/lemon/graph_utils.h Tue Dec 12 13:35:52 2006 +0000 @@ -683,12 +683,12 @@ template struct GraphCopySelector< Graph, - typename enable_if::type> + typename enable_if::type> { template static void copy(Graph &target, const Source& source, NodeRefMap& nodeRefMap, EdgeRefMap& edgeRefMap) { - target.clone(source, nodeRefMap, edgeRefMap); + target.build(source, nodeRefMap, edgeRefMap); } }; @@ -710,12 +710,12 @@ template struct UGraphCopySelector< UGraph, - typename enable_if::type> + typename enable_if::type> { template static void copy(UGraph &target, const Source& source, NodeRefMap& nodeRefMap, UEdgeRefMap& uEdgeRefMap) { - target.clone(source, nodeRefMap, uEdgeRefMap); + target.build(source, nodeRefMap, uEdgeRefMap); } }; @@ -742,14 +742,14 @@ template struct BpUGraphCopySelector< BpUGraph, - typename enable_if::type> + typename enable_if::type> { template static void copy(BpUGraph &target, const Source& source, ANodeRefMap& aNodeRefMap, BNodeRefMap& bNodeRefMap, UEdgeRefMap& uEdgeRefMap) { - target.clone(source, aNodeRefMap, bNodeRefMap, uEdgeRefMap); + target.build(source, aNodeRefMap, bNodeRefMap, uEdgeRefMap); } };