diff options
author | Scott Graham <scottmg@chromium.org> | 2014-11-10 20:00:16 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2014-11-10 20:00:16 (GMT) |
commit | c47506449cd4f6e44a7d43d9b7ecb33f3b448c16 (patch) | |
tree | 19868b1bc8634655d27dd73d1c9ad284c2816e04 /src/state.cc | |
parent | fccce3f6731276f369e4454c59556998cdbb22d4 (diff) | |
download | Ninja-c47506449cd4f6e44a7d43d9b7ecb33f3b448c16.zip Ninja-c47506449cd4f6e44a7d43d9b7ecb33f3b448c16.tar.gz Ninja-c47506449cd4f6e44a7d43d9b7ecb33f3b448c16.tar.bz2 |
make all GetNode explicit, add DepsLog canonicalize test
Diffstat (limited to 'src/state.cc')
-rw-r--r-- | src/state.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/state.cc b/src/state.cc index 7d1d79d..6e3e10d 100644 --- a/src/state.cc +++ b/src/state.cc @@ -111,13 +111,6 @@ Edge* State::AddEdge(const Rule* rule) { return edge; } -Node* State::GetNode(StringPiece path) { -#if defined(_WIN32) && !defined(NDEBUG) - assert(strpbrk(path.AsString().c_str(), "/\\") == NULL); -#endif - return GetNode(path, 0); -} - Node* State::GetNode(StringPiece path, unsigned int slash_bits) { Node* node = LookupNode(path); if (node) |