1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 477231 - NPE in CPPTemplates.convertNonTypeTemplateArgument()

Change-Id: If018f3d40f46eaccfaa9b8fb0094dbf40f50e599
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
This commit is contained in:
Nathan Ridge 2015-09-27 14:31:06 -04:00
parent 15935286c0
commit 7ba4959cf4

View file

@ -2597,7 +2597,7 @@ public class CPPTemplates {
p = new CPPPointerType(((IArrayType) paramType).getType());
} else {
p= paramType;
if (p.isSameType(a))
if (p != null && p.isSameType(a))
return arg;
}