diff options
author | Evan Martin <martine@danga.com> | 2011-12-07 01:32:25 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-07 01:32:25 (GMT) |
commit | b6b33fd295b2ed892f2d31a7d1b82dd21d7cf3bd (patch) | |
tree | 0c5f3f8b28dfab75b9a8b3b94cebdff516bd2885 /src/build.cc | |
parent | 51cab0b9dbbee5dc6a656a8f4ce15330f36a7a2c (diff) | |
download | Ninja-b6b33fd295b2ed892f2d31a7d1b82dd21d7cf3bd.zip Ninja-b6b33fd295b2ed892f2d31a7d1b82dd21d7cf3bd.tar.gz Ninja-b6b33fd295b2ed892f2d31a7d1b82dd21d7cf3bd.tar.bz2 |
add and use getter for Edge::rule_
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.cc b/src/build.cc index f3d7d9b..d074d2b 100644 --- a/src/build.cc +++ b/src/build.cc @@ -575,7 +575,7 @@ void Builder::FinishEdge(Edge* edge, bool success, const string& output) { time_t restat_mtime = 0; if (success) { - if (edge->rule_->restat_) { + if (edge->rule().restat_) { bool node_cleaned = false; for (vector<Node*>::iterator i = edge->outputs_.begin(); @@ -605,7 +605,7 @@ void Builder::FinishEdge(Edge* edge, bool success, const string& output) { restat_mtime = input_mtime; } - if (restat_mtime != 0 && !edge->rule_->depfile_.empty()) { + if (restat_mtime != 0 && !edge->rule().depfile_.empty()) { time_t depfile_mtime = disk_interface_->Stat(edge->EvaluateDepFile()); if (depfile_mtime == 0) restat_mtime = 0; |