1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 12:55:40 +02:00

CCE in composite index, bug 278206.

This commit is contained in:
Markus Schorn 2009-05-28 15:07:57 +00:00
parent ef3dcbc656
commit 4d40ea0bfd

View file

@ -94,9 +94,13 @@ public class TemplateInstanceUtil {
if (arg.isNonTypeValue()) {
return arg;
}
IType t= cf.getCompositeType((IIndexType) arg.getTypeValue());
final IType typeValue = arg.getTypeValue();
if (typeValue instanceof IIndexType) {
IType t= cf.getCompositeType((IIndexType) typeValue);
return new CPPTemplateArgument(t);
}
return arg;
}
@Deprecated
public static ObjectMap getArgumentMap(ICompositesFactory cf, IIndexBinding rbinding) {