summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-09-04 02:15:13 (GMT)
committerNico Weber <nicolasweber@gmx.de>2017-09-04 02:15:13 (GMT)
commit0c671527322d15016bb9ff5c3cf436f68e6ddbde (patch)
treecf9625c31e7ad023606c3881c6c759c8572c45c9 /src/build_log.h
parent256bf897b85e35bc90294090ad39b5214eb141fb (diff)
parentb98941a605d3cc47966d8407ace6e454d781af9b (diff)
downloadNinja-0c671527322d15016bb9ff5c3cf436f68e6ddbde.zip
Ninja-0c671527322d15016bb9ff5c3cf436f68e6ddbde.tar.gz
Ninja-0c671527322d15016bb9ff5c3cf436f68e6ddbde.tar.bz2
v1.8.0v1.8.0
Diffstat (limited to 'src/build_log.h')
-rw-r--r--src/build_log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build_log.h b/src/build_log.h
index 785961e..5268fab 100644
--- a/src/build_log.h
+++ b/src/build_log.h
@@ -45,7 +45,7 @@ struct BuildLog {
bool OpenForWrite(const string& path, const BuildLogUser& user, string* err);
bool RecordCommand(Edge* edge, int start_time, int end_time,
- TimeStamp restat_mtime = 0);
+ TimeStamp mtime = 0);
void Close();
/// Load the on-disk log.
@@ -56,7 +56,7 @@ struct BuildLog {
uint64_t command_hash;
int start_time;
int end_time;
- TimeStamp restat_mtime;
+ TimeStamp mtime;
static uint64_t HashCommand(StringPiece command);
@@ -64,7 +64,7 @@ struct BuildLog {
bool operator==(const LogEntry& o) {
return output == o.output && command_hash == o.command_hash &&
start_time == o.start_time && end_time == o.end_time &&
- restat_mtime == o.restat_mtime;
+ mtime == o.mtime;
}
explicit LogEntry(const string& output);