diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-01-07 00:15:23 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-01-07 00:15:23 (GMT) |
commit | 8e20867e1de55489d47ec65552a2f561126c070b (patch) | |
tree | 87adf94aeeafbd338b1d24a70d5ce01c1cfc122a /src/ninja.cc | |
parent | d571e79baaf58032e291325043d7870eb13cb70b (diff) | |
download | Ninja-8e20867e1de55489d47ec65552a2f561126c070b.zip Ninja-8e20867e1de55489d47ec65552a2f561126c070b.tar.gz Ninja-8e20867e1de55489d47ec65552a2f561126c070b.tar.bz2 |
Make BuildLogUser reference constant.
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 2 |
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 |