Increment current while adding a collection to IntegerList (fixes #474)
This commit is contained in:
parent
a9628b0ff0
commit
c35b59d3b8
|
@ -103,6 +103,7 @@ public class IntegerList {
|
|||
int current = 0;
|
||||
for (int x : list) {
|
||||
_data[_size + current] = x;
|
||||
current++;
|
||||
}
|
||||
|
||||
_size += list.size();
|
||||
|
|
Loading…
Reference in New Issue