Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/AbstractCPPClassSpecializationScope.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/AbstractCPPClassSpecializationScope.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/AbstractCPPClassSpecializationScope.java
index 9c7c0588d5f..6015a27bde8 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/AbstractCPPClassSpecializationScope.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/AbstractCPPClassSpecializationScope.java
@@ -129,7 +129,8 @@ public class AbstractCPPClassSpecializationScope implements ICPPClassSpecializat
} else {
binding= specialClass.specializeMember(binding, lookup.getLookupPoint());
}
- result = ArrayUtil.appendAt(result, n++, binding);
+ if (binding != null)
+ result = ArrayUtil.appendAt(result, n++, binding);
}
return ArrayUtil.trim(result, n);
}

Back to the top