diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.h b/src/state.h index 72ced9f..845c947 100644 --- a/src/state.h +++ b/src/state.h @@ -44,9 +44,9 @@ struct State { Node* LookupNode(StringPiece path); Node* SpellcheckNode(const string& path); - void AddIn(Edge* edge, const string& path); - void AddOut(Edge* edge, const string& path); - bool AddDefault(const string& path, string* error); + void AddIn(Edge* edge, StringPiece path); + void AddOut(Edge* edge, StringPiece path); + bool AddDefault(StringPiece path, string* error); /// Reset state. Keeps all nodes and edges, but restores them to the /// state where we haven't yet examined the disk for dirty state. |