diff options
Diffstat (limited to 'src/deps_log.h')
-rw-r--r-- | src/deps_log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/deps_log.h b/src/deps_log.h index 820997e..7270916 100644 --- a/src/deps_log.h +++ b/src/deps_log.h @@ -90,6 +90,9 @@ struct DepsLog { const vector<Deps*>& deps() const { return deps_; } private: + // Updates the in-memory representation. Takes ownership of |deps|. + // Returns true if a prior deps record was deleted. + bool UpdateDeps(int out_id, Deps* deps); // Write a node name record, assigning it an id. bool RecordId(Node* node); |