diff options
-rw-r--r-- | src/clean.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/clean.h b/src/clean.h index 8f0cfa4..9961658 100644 --- a/src/clean.h +++ b/src/clean.h @@ -27,9 +27,8 @@ struct Node; struct Rule; struct DiskInterface; -class Cleaner -{ -public: +class Cleaner { + public: /// Build a cleaner object with a real disk interface. Cleaner(State* state, const BuildConfig& config); @@ -74,7 +73,7 @@ public: && (config_.verbosity == BuildConfig::VERBOSE || config_.dry_run)); } -private: + private: /// Remove the file @a path. /// @return whether the file has been removed. int RemoveFile(const string& path); @@ -92,7 +91,6 @@ private: void DoCleanRule(const Rule* rule); void Reset(); -private: State* state_; BuildConfig config_; set<string> removed_; |