summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.cc')
-rw-r--r--src/graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph.cc b/src/graph.cc
index 15df856..fdbbb0a 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -234,7 +234,7 @@ bool Edge::LoadDepFile(State* state, DiskInterface* disk_interface,
Node* node = state->GetNode(path);
*implicit_dep = node;
- node->out_edges_.push_back(this);
+ node->AddOutEdge(this);
// If we don't have a edge that generates this input already,
// create one; this makes us not abort if the input is missing,