summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-01-07 00:15:23 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-01-07 00:15:23 (GMT)
commit8e20867e1de55489d47ec65552a2f561126c070b (patch)
tree87adf94aeeafbd338b1d24a70d5ce01c1cfc122a /src/state.h
parentd571e79baaf58032e291325043d7870eb13cb70b (diff)
downloadNinja-8e20867e1de55489d47ec65552a2f561126c070b.zip
Ninja-8e20867e1de55489d47ec65552a2f561126c070b.tar.gz
Ninja-8e20867e1de55489d47ec65552a2f561126c070b.tar.bz2
Make BuildLogUser reference constant.
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index bde75ff..bcb0eff 100644
--- a/src/state.h
+++ b/src/state.h
@@ -95,7 +95,7 @@ struct State {
Edge* AddEdge(const Rule* rule);
Node* GetNode(StringPiece path);
- Node* LookupNode(StringPiece path);
+ Node* LookupNode(StringPiece path) const;
Node* SpellcheckNode(const string& path);
void AddIn(Edge* edge, StringPiece path);