1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Follow up on bug 262719.

This commit is contained in:
Markus Schorn 2009-01-30 08:29:39 +00:00
parent 1307b246eb
commit 8a018e449f

View file

@ -145,7 +145,7 @@ public class CPPScopeMapper {
if (declspec instanceof IASTCompositeTypeSpecifier) {
IASTCompositeTypeSpecifier cts = (IASTCompositeTypeSpecifier) declspec;
final IASTName name = cts.getName();
final char[] nameChars = name.toCharArray();
final char[] nameChars = name.getLookupKey();
if (nameChars.length > 0) {
IASTName[] names= fClasses.get(nameChars);
names= (IASTName[]) ArrayUtil.append(IASTName.class, names, name);