Skip to content

Commit 70c9f0e

Browse files
committed
Further simplify
1 parent 4c56715 commit 70c9f0e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

BitFaster.Caching/Lru/EqualCapacityPartition.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ public class EqualCapacityPartition : ICapacityPartition
1515
/// <param name="totalCapacity">The total capacity.</param>
1616
public EqualCapacityPartition(int totalCapacity)
1717
{
18-
var (hot, warm, cold) = ComputeQueueCapacity(totalCapacity);
19-
this.Hot = hot;
20-
this.Warm = warm;
21-
this.Cold = cold;
18+
(Hot, Warm, Cold) = ComputeQueueCapacity(totalCapacity);
2219
}
2320

2421
///<inheritdoc/>

0 commit comments

Comments
 (0)