diff options
-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"); |