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:
parent
15935286c0
commit
7ba4959cf4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue