Skip to content

Commit

Permalink
MutableChampSetJmh: fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandelshofer committed Oct 18, 2024
1 parent 3cf55e3 commit 8be641b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ChampSet<Integer> mAddMutableOneByOne() {
for (int i = 0; i < size; i++) {
set.add(rng.nextInt());
}
return set.toImmutable();
return set.toPersistent();
}

@Benchmark
Expand Down

0 comments on commit 8be641b

Please sign in to comment.