mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Fixed an ArrayStoreException.
This commit is contained in:
parent
80c40cd4d1
commit
09a082e321
1 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ public class CPPASTConstructorInitializer extends ASTNode implements ICPPASTCons
|
|||
public CPPASTConstructorInitializer copy() {
|
||||
IASTInitializerClause[] args = null;
|
||||
if (fArguments != null) {
|
||||
args= new IASTExpression[fArguments.length];
|
||||
args= new IASTInitializerClause[fArguments.length];
|
||||
for (int i= 0; i < fArguments.length; i++) {
|
||||
args[i]= fArguments[i].copy();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue