summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.h')
-rw-r--r--src/build_log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_log.h b/src/build_log.h
index 81a745f..f45cbde 100644
--- a/src/build_log.h
+++ b/src/build_log.h
@@ -32,6 +32,7 @@ struct Edge;
/// from it
struct BuildLog {
BuildLog();
+ ~BuildLog() { Close(); }
void SetConfig(BuildConfig* config) { config_ = config; }
bool OpenForWrite(const string& path, string* err);