diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-01-04 05:26:50 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-01-04 05:26:50 (GMT) |
commit | 1513693dce3aa6aa3af74965b6eb55a3cd37111e (patch) | |
tree | ab7254a048e2d0cd7b7c4a4380deda0ed2fe0c5e /src/ninja.cc | |
parent | c8b5ad32899503a1f992f7db75fd2c56e8d49238 (diff) | |
download | Ninja-1513693dce3aa6aa3af74965b6eb55a3cd37111e.zip Ninja-1513693dce3aa6aa3af74965b6eb55a3cd37111e.tar.gz Ninja-1513693dce3aa6aa3af74965b6eb55a3cd37111e.tar.bz2 |
Rename "IsDead" to "BuildLogUser".
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 095132e..5bf8221 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -68,7 +68,7 @@ struct Options { /// The Ninja main() loads up a series of data structures; various tools need /// to poke into these, so store them as fields on an object. -struct NinjaMain : public IsDead { +struct NinjaMain : public BuildLogUser { NinjaMain(const char* ninja_command, const BuildConfig& config) : ninja_command_(ninja_command), config_(config) {} @@ -792,14 +792,14 @@ bool NinjaMain::OpenBuildLog(bool recompact_only) { } if (recompact_only) { - bool success = build_log_.Recompact(log_path, this, &err); + bool success = build_log_.Recompact(log_path, *this, &err); if (!success) Error("failed recompaction: %s", err.c_str()); return success; } if (!config_.dry_run) { - if (!build_log_.OpenForWrite(log_path, this, &err)) { + if (!build_log_.OpenForWrite(log_path, *this, &err)) { Error("opening build log: %s", err.c_str()); return false; } |