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