summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
authorIgor [hyperxor] <56217938+hyperxor@users.noreply.github.com>2022-06-20 06:45:29 (GMT)
committerGitHub <noreply@github.com>2022-06-20 06:45:29 (GMT)
commitd4017a2b1ea642f12dabe05ec99b2a16c93e99aa (patch)
treed617379418d5270026366322c948a98bd03e6e40 /src/deps_log.cc
parenta4c24a33c1ed32d9d51c8df763ec6ad574587d02 (diff)
downloadNinja-d4017a2b1ea642f12dabe05ec99b2a16c93e99aa.zip
Ninja-d4017a2b1ea642f12dabe05ec99b2a16c93e99aa.tar.gz
Ninja-d4017a2b1ea642f12dabe05ec99b2a16c93e99aa.tar.bz2
Make IsDepsEntryLiveFor static and add const to parameter (#2141)
Diffstat (limited to 'src/deps_log.cc')
-rw-r--r--src/deps_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index 7e48b38..e32a7a9 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -361,7 +361,7 @@ bool DepsLog::Recompact(const string& path, string* err) {
return true;
}
-bool DepsLog::IsDepsEntryLiveFor(Node* node) {
+bool DepsLog::IsDepsEntryLiveFor(const Node* node) {
// Skip entries that don't have in-edges or whose edges don't have a
// "deps" attribute. They were in the deps log from previous builds, but
// the the files they were for were removed from the build and their deps