summaryrefslogtreecommitdiffstats
path: root/src/clean.cc
diff options
context:
space:
mode:
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 9a39ec9..e8405f5 100644
--- a/src/clean.cc
+++ b/src/clean.cc
@@ -105,7 +105,7 @@ int Cleaner::CleanAll(bool generator) {
if ((*e)->rule_ == &State::kPhonyRule)
continue;
// Do not remove generator's files unless generator specified.
- if (!generator && (*e)->rule().generator_)
+ if (!generator && (*e)->rule().generator())
continue;
for (vector<Node*>::iterator out_node = (*e)->outputs_.begin();
out_node != (*e)->outputs_.end(); ++out_node) {