diff options
author | Maxim Kalaev <maximk@il.ibm.com> | 2012-10-12 06:59:49 (GMT) |
---|---|---|
committer | Maxim Kalaev <maximk@il.ibm.com> | 2012-10-12 07:16:51 (GMT) |
commit | 96e01852b3060f37f20784ee0941d13d8f592794 (patch) | |
tree | 63af05153a4eae391f9f998728c98a5b0e04a9b3 /src/build_log.h | |
parent | 9e8bfe0365ccf78a524c0733a33b5bac2dc66f5a (diff) | |
download | Ninja-96e01852b3060f37f20784ee0941d13d8f592794.zip Ninja-96e01852b3060f37f20784ee0941d13d8f592794.tar.gz Ninja-96e01852b3060f37f20784ee0941d13d8f592794.tar.bz2 |
build log: mini-refactoring to use constructors to initialize entries
Diffstat (limited to 'src/build_log.h')
-rw-r--r-- | src/build_log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build_log.h b/src/build_log.h index 4141ff3..5a3b516 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -60,6 +60,9 @@ struct BuildLog { start_time == o.start_time && end_time == o.end_time && restat_mtime == o.restat_mtime; } + + explicit LogEntry(const string& output); + LogEntry(const string& output, uint64_t command_hash, int start_time, int end_time, TimeStamp restat_mtime); }; /// Lookup a previously-run command by its output path. |