mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
Bug 509496 - ClassCastException in CPPASTInitializerList.createEvaluation()
Change-Id: I9008c56a5489b6e4dbf114eddcf1900d8447bff9
This commit is contained in:
parent
19ce7cc137
commit
74850afc13
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ public class CPPASTInitializerList extends ASTNode implements ICPPASTInitializer
|
|||
final ICPPASTInitializerClause[] clauses = getClauses();
|
||||
ICPPEvaluation[] evals= new ICPPEvaluation[clauses.length];
|
||||
for (int i = 0; i < evals.length; i++) {
|
||||
ICPPEvaluationOwner clause = (ICPPEvaluationOwner) clauses[i];
|
||||
evals[i]= clause.getEvaluation();
|
||||
evals[i]= clauses[i].getEvaluation();
|
||||
}
|
||||
return new EvalInitList(evals, this);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue