From aaf55d99286e62dc167afc8d733d24a32aa442a9 Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Tue, 9 Aug 2011 20:07:50 -0300 Subject: Fix trivial style issues with Cleaner class. Signed-off-by: Thiago Farina --- src/clean.h | 8 +++----- 1 file 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 removed_; -- cgit v0.12