diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-11 15:02:08 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-11 15:25:20 +0200 |
commit | 8a32c41f6f419f3f3315c679722ca4455fca5155 (patch) | |
tree | da7019323903697f7a6767db2dec159f94466673 /src/shared/cplusplus/ASTClone.cpp | |
parent | f3746289b9942acf8f883585c998c024de1a8083 (diff) | |
download | qt-creator-8a32c41f6f419f3f3315c679722ca4455fca5155.tar.gz |
Removed TemplateArgumentList
Diffstat (limited to 'src/shared/cplusplus/ASTClone.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTClone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/ASTClone.cpp b/src/shared/cplusplus/ASTClone.cpp index c5a522ebdb..996d4dbda5 100644 --- a/src/shared/cplusplus/ASTClone.cpp +++ b/src/shared/cplusplus/ASTClone.cpp @@ -804,9 +804,9 @@ TemplateIdAST *TemplateIdAST::clone(MemoryPool *pool) const TemplateIdAST *ast = new (pool) TemplateIdAST; ast->identifier_token = identifier_token; ast->less_token = less_token; - for (TemplateArgumentListAST *iter = template_argument_list, **ast_iter = &ast->template_argument_list; + for (ExpressionListAST *iter = template_argument_list, **ast_iter = &ast->template_argument_list; iter; iter = iter->next, ast_iter = &(*ast_iter)->next) - *ast_iter = new (pool) TemplateArgumentListAST((iter->value) ? iter->value->clone(pool) : 0); + *ast_iter = new (pool) ExpressionListAST((iter->value) ? iter->value->clone(pool) : 0); ast->greater_token = greater_token; return ast; } |