diff options
Diffstat (limited to 'src/deps_log.h')
-rw-r--r-- | src/deps_log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/deps_log.h b/src/deps_log.h index e32a6fe..99b006e 100644 --- a/src/deps_log.h +++ b/src/deps_log.h @@ -61,7 +61,8 @@ struct State; /// wins, allowing updates to just be appended to the file. A separate /// repacking step can run occasionally to remove dead records. struct DepsLog { - DepsLog() : dead_record_count_(0) {} + DepsLog() : dead_record_count_(0), file_(NULL) {} + ~DepsLog(); // Writing (build-time) interface. bool OpenForWrite(const string& path, string* err); |