mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Code streamlining.
This commit is contained in:
parent
03fdc9525f
commit
09a0c248fb
1 changed files with 1 additions and 3 deletions
|
@ -2847,9 +2847,7 @@ public class CPPTemplates {
|
|||
if (result instanceof ICPPClassTemplate) {
|
||||
result = instantiate((ICPPClassTemplate) result, args1, point);
|
||||
} else if (result instanceof ICPPAliasTemplate) {
|
||||
ICPPAliasTemplate aliasTemplate = (ICPPAliasTemplate) result;
|
||||
IType type= instantiateType(aliasTemplate.getType(), tpMap, -1, getSpecializationContext(within), point);
|
||||
result = new CPPAliasTemplateInstance(aliasTemplate.getNameCharArray(), aliasTemplate, type);
|
||||
result = createSpecialization(getSpecializationContext(within), result, point);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue