diff options
Diffstat (limited to 'tools/gn/template.cc')
-rw-r--r-- | tools/gn/template.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/gn/template.cc b/tools/gn/template.cc index 11dcf1f..29a6b09 100644 --- a/tools/gn/template.cc +++ b/tools/gn/template.cc @@ -24,12 +24,6 @@ Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def) Template::~Template() { } -scoped_ptr<Template> Template::Clone() const { - // We can make a new closure from our closure to copy it. - return scoped_ptr<Template>( - new Template(closure_->MakeClosure(), definition_)); -} - Value Template::Invoke(Scope* scope, const FunctionCallNode* invocation, const std::vector<Value>& args, |