From b268a282a4f1911f1300fb703f28d77a78562d16 Mon Sep 17 00:00:00 2001 From: John McCall Date: Mon, 23 Aug 2010 23:25:46 +0000 Subject: Kill off ExprArg (now just Expr*) and StmtArg (now just Stmt*). llvm-svn: 111863 --- clang/lib/Parse/ParseTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Parse/ParseTemplate.cpp') diff --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp index 795fea789cc..835b6e5a5bb 100644 --- a/clang/lib/Parse/ParseTemplate.cpp +++ b/clang/lib/Parse/ParseTemplate.cpp @@ -620,7 +620,7 @@ Parser::ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) { // Create the parameter. return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, Depth, Position, EqualLoc, - move(DefaultArg)); + DefaultArg.take()); } /// \brief Parses a template-id that after the template name has -- cgit v1.2.3