summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-08 00:32:38 (GMT)
committerEvan Martin <martine@danga.com>2011-01-08 00:32:38 (GMT)
commit08a5452d05eae55bec40cd351718d62fd767227c (patch)
treeff6b10249c3400df7d7cf18bdd11788c4df6523d /src/build_log.h
parentbe51721782291cf5f8087729c574b1182f98c96c (diff)
downloadNinja-08a5452d05eae55bec40cd351718d62fd767227c.zip
Ninja-08a5452d05eae55bec40cd351718d62fd767227c.tar.gz
Ninja-08a5452d05eae55bec40cd351718d62fd767227c.tar.bz2
don't crash in tests where we don't use a log file
Diffstat (limited to 'src/build_log.h')
-rw-r--r--src/build_log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log.h b/src/build_log.h
index 1d9463c..2442f70 100644
--- a/src/build_log.h
+++ b/src/build_log.h
@@ -12,6 +12,8 @@ struct Edge;
// 3) maybe we can generate some sort of build overview output
// from it
struct BuildLog {
+ BuildLog();
+
bool OpenForWrite(const string& path, string* err);
void RecordCommand(Edge* edge, int time_ms);
void Close();