summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-01-09 21:30:09 (GMT)
committerEvan Martin <martine@danga.com>2012-01-09 21:30:09 (GMT)
commitfc36ba5f04f659f485e4ae9d70ad826b5838959d (patch)
treeaf6a1251d687dc8518a3cbefade2070fe4e1db31 /src/state.h
parentbef0bbfb3e6b0fcb71f13fea07fe14d628fb6492 (diff)
downloadNinja-fc36ba5f04f659f485e4ae9d70ad826b5838959d.zip
Ninja-fc36ba5f04f659f485e4ae9d70ad826b5838959d.tar.gz
Ninja-fc36ba5f04f659f485e4ae9d70ad826b5838959d.tar.bz2
switch node lookup to StringPiece
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h
index cdab131..72ced9f 100644
--- a/src/state.h
+++ b/src/state.h
@@ -40,8 +40,8 @@ struct State {
Edge* AddEdge(const Rule* rule);
- Node* GetNode(const string& path);
- Node* LookupNode(const string& path);
+ Node* GetNode(StringPiece path);
+ Node* LookupNode(StringPiece path);
Node* SpellcheckNode(const string& path);
void AddIn(Edge* edge, const string& path);