summaryrefslogtreecommitdiffstats
path: root/src/clean.h
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2011-08-09 23:07:50 (GMT)
committerThiago Farina <tfarina@chromium.org>2011-08-09 23:07:50 (GMT)
commitaaf55d99286e62dc167afc8d733d24a32aa442a9 (patch)
treeb02b375f6413625673b7362731f3a677a3202156 /src/clean.h
parent6faa70718dd5136171f1abca12087a141d28e455 (diff)
downloadNinja-aaf55d99286e62dc167afc8d733d24a32aa442a9.zip
Ninja-aaf55d99286e62dc167afc8d733d24a32aa442a9.tar.gz
Ninja-aaf55d99286e62dc167afc8d733d24a32aa442a9.tar.bz2
Fix trivial style issues with Cleaner class.
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/clean.h')
-rw-r--r--src/clean.h8
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_;