Skip to content

Commit

Permalink
Fix incorrect type.
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor0 committed Jan 17, 2025
1 parent 961fcab commit 135328a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trell/Collections/BoundedObjectPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public BoundedObjectPool(Func<V> ctor, int max = 1, int pending = 0) {
public int Count => this.allocated.Count;
public int Pending => this.unallocated.Count;

public IEnumerable<WorkerHandle> Values => (IEnumerable<WorkerHandle>)this.allocated.Values;
public IEnumerable<V> Values => this.allocated.Values;

public bool TryGet(K key, out V val) {
#pragma warning disable CS8601 // Possible null reference assignment.
Expand Down

0 comments on commit 135328a

Please sign in to comment.