summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/FindUsages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/FindUsages.cpp')
-rw-r--r--src/libs/cplusplus/FindUsages.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/cplusplus/FindUsages.cpp b/src/libs/cplusplus/FindUsages.cpp
index d6ecca8cbf..d58d17a971 100644
--- a/src/libs/cplusplus/FindUsages.cpp
+++ b/src/libs/cplusplus/FindUsages.cpp
@@ -301,7 +301,7 @@ bool FindUsages::visit(QualifiedNameAST *ast)
if (template_id) {
for (TemplateArgumentListAST *template_arguments = template_id->template_arguments;
template_arguments; template_arguments = template_arguments->next) {
- accept(template_arguments->template_argument);
+ accept(template_arguments->value);
}
}
}
@@ -335,7 +335,7 @@ bool FindUsages::visit(QualifiedNameAST *ast)
for (TemplateArgumentListAST *template_arguments = template_id->template_arguments;
template_arguments; template_arguments = template_arguments->next) {
- accept(template_arguments->template_argument);
+ accept(template_arguments->value);
}
}
}
@@ -395,7 +395,7 @@ bool FindUsages::visit(TemplateIdAST *ast)
for (TemplateArgumentListAST *template_arguments = ast->template_arguments;
template_arguments; template_arguments = template_arguments->next) {
- accept(template_arguments->template_argument);
+ accept(template_arguments->value);
}
return false;