diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2019-12-20 14:49:57 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2019-12-23 13:11:09 (GMT) |
commit | 791c887e22046e5e7a2d05ecb5ff27701d56895d (patch) | |
tree | e151d2c56fbabee588a7c8b3d4a177752ba76d38 /src/build_log.h | |
parent | 8f87ee0469820d247fa20971c07dbad5f2aa744e (diff) | |
download | Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.zip Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.gz Ninja-791c887e22046e5e7a2d05ecb5ff27701d56895d.tar.bz2 |
Ignore nonexistent .ninja_log/.ninja_deps for restat and recompact
Diffstat (limited to 'src/build_log.h')
-rw-r--r-- | src/build_log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_log.h b/src/build_log.h index d52dd3b..ed59d79 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -20,6 +20,7 @@ using namespace std; #include "hash_map.h" +#include "load_status.h" #include "timestamp.h" #include "util.h" // uint64_t @@ -50,7 +51,7 @@ struct BuildLog { void Close(); /// Load the on-disk log. - bool Load(const string& path, string* err); + LoadStatus Load(const string& path, string* err); struct LogEntry { string output; |