1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 12:15:47 +02:00

Minor fix for implicit constructors.

This commit is contained in:
Markus Schorn 2010-05-05 13:29:23 +00:00
parent 8e12e974ec
commit 5f1227d142

View file

@ -2801,7 +2801,7 @@ public class CPPSemantics {
return null; return null;
IType type; IType type;
try { try {
type = SemanticUtil.getSimplifiedType(((ICPPVariable) binding).getType()); type = SemanticUtil.getNestedType(((ICPPVariable) binding).getType(), TDEF | CVTYPE);
if (!(type instanceof ICPPClassType)) if (!(type instanceof ICPPClassType))
return null; return null;
ICPPClassType classType = (ICPPClassType) type; ICPPClassType classType = (ICPPClassType) type;