mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fix small bug that caused ClassCastExceptions
This commit is contained in:
parent
ada5f6bb24
commit
cc677cd35b
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ public abstract class CPPTemplateDefinition implements ICPPTemplateDefinition, I
|
|||
if( temp != null ){
|
||||
IASTName n = CPPTemplates.getTemplateParameterName( nps[i] );
|
||||
n.setBinding( temp );
|
||||
temp.addDeclaration( name );
|
||||
temp.addDeclaration( n );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue