diff options
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) { |