fix small default value bug in FishSet.Clear

This commit is contained in:
bbradson
2024-04-14 20:10:30 +02:00
parent 64152cef07
commit 8d23bff6ba
9 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ public class FishSet<T> : ISet<T>, IReadOnlyCollection<T>, ICollection
if (_buckets is null)
Initialize();
Array.Fill(_buckets, Internal.KeyUtility<T>.Default);
Array.Fill(_buckets, _defaultValue);
_tails.Reset();
_count = 0;