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:
parent
edb7610220
commit
d44b8284b8
1 changed files with 2 additions and 1 deletions
|
@ -739,7 +739,8 @@ public class CPPTemplates {
|
||||||
IType t = (IType) argMap.get(type);
|
IType t = (IType) argMap.get(type);
|
||||||
if (t == null) {
|
if (t == null) {
|
||||||
for (int i = 0; i < argMap.size(); i++) {
|
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);
|
newType = (IType) argMap.getAt(i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue