Skip to content

Commit

Permalink
Fixed ObjectSet#addAll signture
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Aug 21, 2024
1 parent e9573c9 commit e020cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc-core/src/arc/struct/ObjectSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void addAll(T[] array, int offset, int length){
add(array[i]);
}

public void addAll(ObjectSet<T> set){
public void addAll(ObjectSet<? extends T> set){
ensureCapacity(set.size);
for(T key : set)
add(key);
Expand Down

0 comments on commit e020cc5

Please sign in to comment.