summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-12-07 17:38:10 (GMT)
committerEvan Martin <martine@danga.com>2011-12-07 17:38:10 (GMT)
commitd58d918bafb26af9fd0c65cd61058ad29c5d2f4b (patch)
tree163351351c3f4cad33cb3331e0ffc1721e8b8491 /src/graph.cc
parent48526b9c08f22ddcf7e36ca02fde0202312920fa (diff)
downloadNinja-d58d918bafb26af9fd0c65cd61058ad29c5d2f4b.zip
Ninja-d58d918bafb26af9fd0c65cd61058ad29c5d2f4b.tar.gz
Ninja-d58d918bafb26af9fd0c65cd61058ad29c5d2f4b.tar.bz2
make Node::out_edges_ private
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,