summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2019-12-20 14:49:57 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2019-12-23 13:11:09 (GMT)
commit791c887e22046e5e7a2d05ecb5ff27701d56895d (patch)
treee151d2c56fbabee588a7c8b3d4a177752ba76d38 /src/build_log.h
parent8f87ee0469820d247fa20971c07dbad5f2aa744e (diff)
downloadNinja-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.h3
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;