summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 008c052..03ca83b 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -138,7 +138,7 @@ struct NinjaMain : public BuildLogUser {
/// Dump the output requested by '-d stats'.
void DumpMetrics();
- virtual bool IsPathDead(StringPiece s) {
+ virtual bool IsPathDead(StringPiece s) const {
Node* n = state_.LookupNode(s);
// Just checking n isn't enough: If an old output is both in the build log
// and in the deps log, it will have a Node object in state_. (It will also