Index: delta_diff_generator.cc |
diff --git a/delta_diff_generator.cc b/delta_diff_generator.cc |
index ec071193cecc67a7112d616241e3739650c356fa..657bdf50410f2c348cb6034ae9fa02469f0bb087 100644 |
--- a/delta_diff_generator.cc |
+++ b/delta_diff_generator.cc |
@@ -652,6 +652,10 @@ bool DeltaDiffGenerator::CutEdges(Graph* graph, |
// delete the old edge |
CHECK_EQ(1, (*graph)[it->first].out_edges.erase(it->second)); |
+ |
+ // Add an edge from dst to copy operation |
+ (*graph)[it->second].out_edges.insert(make_pair(graph->size() - 1, |
+ EdgeProperties())); |
} |
return true; |
} |