summaryrefslogtreecommitdiffstats
path: root/src/build_log.h
diff options
context:
space:
mode:
authorMichael Jones <jonesmz@jonesmz.com>2019-08-07 18:54:44 (GMT)
committerMichael Jones <jonesmz@jonesmz.com>2020-09-30 21:19:13 (GMT)
commit73e96c6aef818f3bbf67bbd81a048f3eaf6f4300 (patch)
tree56996abe4f6268a4d5bd424e5484879bb55487ec /src/build_log.h
parenta5aae85a3c8a4032ab18b82afe6c77673125d888 (diff)
downloadNinja-73e96c6aef818f3bbf67bbd81a048f3eaf6f4300.zip
Ninja-73e96c6aef818f3bbf67bbd81a048f3eaf6f4300.tar.gz
Ninja-73e96c6aef818f3bbf67bbd81a048f3eaf6f4300.tar.bz2
Comply with project formatting rules wrt 80 column lines
Diffstat (limited to 'src/build_log.h')
-rw-r--r--src/build_log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build_log.h b/src/build_log.h
index 842c467..88551e3 100644
--- a/src/build_log.h
+++ b/src/build_log.h
@@ -46,8 +46,8 @@ struct BuildLog {
/// Prepares writing to the log file without actually opening it - that will
/// happen when/if it's needed
- bool OpenForWrite(const std::string& path, const BuildLogUser& user, std::string* err);
-
+ bool OpenForWrite(const std::string& path, const BuildLogUser& user,
+ std::string* err);
bool RecordCommand(Edge* edge, int start_time, int end_time,
TimeStamp mtime = 0);
void Close();
@@ -83,7 +83,8 @@ struct BuildLog {
bool WriteEntry(FILE* f, const LogEntry& entry);
/// Rewrite the known log entries, throwing away old data.
- bool Recompact(const std::string& path, const BuildLogUser& user, std::string* err);
+ bool Recompact(const std::string& path, const BuildLogUser& user,
+ std::string* err);
/// Restat all outputs in the log
bool Restat(StringPiece path, const DiskInterface& disk_interface,