diff options
author | Evan Martin <martine@danga.com> | 2011-01-23 19:58:01 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-01-23 19:58:01 (GMT) |
commit | 8a95f48ad50c380cc8d30e7cd6720535547ca2dd (patch) | |
tree | c65e03351d3b8013651a57545ed1b760b8d5aece /src/build_log.cc | |
parent | 4d463b48b8feb0691719a520d7ab825ece377a52 (diff) | |
download | Ninja-8a95f48ad50c380cc8d30e7cd6720535547ca2dd.zip Ninja-8a95f48ad50c380cc8d30e7cd6720535547ca2dd.tar.gz Ninja-8a95f48ad50c380cc8d30e7cd6720535547ca2dd.tar.bz2 |
pass config into build log
Diffstat (limited to 'src/build_log.cc')
-rw-r--r-- | src/build_log.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_log.cc b/src/build_log.cc index b5b429a..144ae14 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -14,7 +14,8 @@ // Once the number of redundant entries exceeds a threshold, we write // out a new file and replace the existing one with it. -BuildLog::BuildLog() : log_file_(NULL), needs_recompaction_(false) {} +BuildLog::BuildLog() + : log_file_(NULL), config_(NULL), needs_recompaction_(false) {} bool BuildLog::OpenForWrite(const string& path, string* err) { if (needs_recompaction_) { |