summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-23 19:58:01 (GMT)
committerEvan Martin <martine@danga.com>2011-01-23 19:58:01 (GMT)
commit8a95f48ad50c380cc8d30e7cd6720535547ca2dd (patch)
treec65e03351d3b8013651a57545ed1b760b8d5aece /src/build_log.cc
parent4d463b48b8feb0691719a520d7ab825ece377a52 (diff)
downloadNinja-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.cc3
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_) {