diff options
author | Evan Martin <martine@danga.com> | 2011-12-07 17:35:02 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-07 17:35:02 (GMT) |
commit | 48526b9c08f22ddcf7e36ca02fde0202312920fa (patch) | |
tree | e9c0890d2e5cb27b90ce117945d4babb069bac0e /src/state.cc | |
parent | d27d21a8c38debfd69c1deaa302cdb500511e0af (diff) | |
download | Ninja-48526b9c08f22ddcf7e36ca02fde0202312920fa.zip Ninja-48526b9c08f22ddcf7e36ca02fde0202312920fa.tar.gz Ninja-48526b9c08f22ddcf7e36ca02fde0202312920fa.tar.bz2 |
make Node::in_edge_ private
Diffstat (limited to 'src/state.cc')
-rw-r--r-- | src/state.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.cc b/src/state.cc index 1635f31..930c361 100644 --- a/src/state.cc +++ b/src/state.cc @@ -89,11 +89,11 @@ void State::AddIn(Edge* edge, const string& path) { void State::AddOut(Edge* edge, const string& path) { Node* node = GetNode(path); edge->outputs_.push_back(node); - if (node->in_edge_) { + if (node->in_edge()) { Warning("multiple rules generate %s. " "build will not be correct; continuing anyway", path.c_str()); } - node->in_edge_ = edge; + node->set_in_edge(edge); } bool State::AddDefault(const string& path, string* err) { |