1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed bug 225943.

This commit is contained in:
Sergey Prigogin 2008-04-07 08:20:30 +00:00
parent edb7610220
commit d44b8284b8

View file

@ -739,7 +739,8 @@ public class CPPTemplates {
IType t = (IType) argMap.get(type);
if (t == null) {
for (int i = 0; i < argMap.size(); i++) {
if (type.isSameType((IType) argMap.keyAt(i))) {
Object key = argMap.keyAt(i);
if (key instanceof IType && type.isSameType((IType) key)) {
newType = (IType) argMap.getAt(i);
break;
}