1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +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;
IType type;
try {
type = SemanticUtil.getSimplifiedType(((ICPPVariable) binding).getType());
type = SemanticUtil.getNestedType(((ICPPVariable) binding).getType(), TDEF | CVTYPE);
if (!(type instanceof ICPPClassType))
return null;
ICPPClassType classType = (ICPPClassType) type;