mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Defer more instantiations, follow up for bug 256113.
This commit is contained in:
parent
7b7875106f
commit
eeea9a4a25
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public class CPPTemplates {
|
|||
public static IBinding instantiate(ICPPTemplateDefinition template, ICPPTemplateArgument[] arguments) {
|
||||
try {
|
||||
arguments= SemanticUtil.getSimplifiedArguments(arguments);
|
||||
if (template instanceof ICPPTemplateTemplateParameter) {
|
||||
if (template instanceof ICPPTemplateTemplateParameter || hasDependentArgument(arguments)) {
|
||||
return deferredInstance(template, arguments);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue