summaryrefslogtreecommitdiffstats
path: root/src/clean.cc
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2011-12-24 01:03:57 (GMT)
committerThiago Farina <tfarina@chromium.org>2011-12-24 01:03:57 (GMT)
commit32bf74f0e94bbe26bd6a8befe55241f8dc1440e2 (patch)
treed64d51777b0b7da0ca718013c1d46a1611107e65 /src/clean.cc
parente9ffd8dfbadcf9eb0963e30be3f989b7ef70d01d (diff)
downloadNinja-32bf74f0e94bbe26bd6a8befe55241f8dc1440e2.zip
Ninja-32bf74f0e94bbe26bd6a8befe55241f8dc1440e2.tar.gz
Ninja-32bf74f0e94bbe26bd6a8befe55241f8dc1440e2.tar.bz2
Fix the TODO in Rule class.
Move various data members to private section and provide accessors for them. Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/clean.cc')
-rw-r--r--src/clean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clean.cc b/src/clean.cc
index e8405f5..bb912f6 100644
--- a/src/clean.cc
+++ b/src/clean.cc
@@ -111,7 +111,7 @@ int Cleaner::CleanAll(bool generator) {
out_node != (*e)->outputs_.end(); ++out_node) {
Remove((*out_node)->path());
}
- if (!(*e)->rule().depfile_.empty())
+ if (!(*e)->rule().depfile().empty())
Remove((*e)->EvaluateDepFile());
}
PrintFooter();