diff options
author | Robert Iannucci <robbie@rail.com> | 2012-11-09 23:47:06 (GMT) |
---|---|---|
committer | Robert A Iannucci Jr <iannucci@chromium.org> | 2012-11-09 23:47:06 (GMT) |
commit | bd0ad99e7549386a8bb51e8f445312fe5c7a6679 (patch) | |
tree | 80124b10ccd76311f0ce30f3850bca754a4b638e /src | |
parent | a5bf183fd9ae7745effbce5dee1e76432c865d5a (diff) | |
download | Ninja-bd0ad99e7549386a8bb51e8f445312fe5c7a6679.zip Ninja-bd0ad99e7549386a8bb51e8f445312fe5c7a6679.tar.gz Ninja-bd0ad99e7549386a8bb51e8f445312fe5c7a6679.tar.bz2 |
all building and tests passing
Diffstat (limited to 'src')
-rw-r--r-- | src/manifest_parser.cc | 2 | ||||
-rw-r--r-- | src/state_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc index 8a010dd..d2c7f1c 100644 --- a/src/manifest_parser.cc +++ b/src/manifest_parser.cc @@ -266,7 +266,7 @@ bool ManifestParser::ParseEdge(string* err) { } while (lexer_.PeekToken(Lexer::INDENT)); } - Edge* edge = state_->AddEdge(rule, NULL); + Edge* edge = state_->AddEdge(rule, &State::kDefaultPool); edge->env_ = env; for (vector<EvalString>::iterator i = ins.begin(); i != ins.end(); ++i) { string path = i->Evaluate(env); diff --git a/src/state_test.cc b/src/state_test.cc index bc24edd..26177ff 100644 --- a/src/state_test.cc +++ b/src/state_test.cc @@ -32,7 +32,7 @@ TEST(State, Basic) { rule->set_command(command); state.AddRule(rule); - Edge* edge = state.AddEdge(rule); + Edge* edge = state.AddEdge(rule, &State::kDefaultPool); state.AddIn(edge, "in1"); state.AddIn(edge, "in2"); state.AddOut(edge, "out"); |