Skip to content

Commit

Permalink
HybridPriorityQueue // Use explicit type definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen committed Feb 13, 2025
1 parent a457ba4 commit 21c4f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Megrez/src/0_CSharpExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ private int FindInsertionPoint(T element) {
}

private void SwitchToHeap() {
var backupStorage = (T[])_storage.Clone();
var backupCount = Count;
T[] backupStorage = (T[])_storage.Clone();
int backupCount = Count;

try {
_usingArray = false;
Expand Down

0 comments on commit 21c4f35

Please sign in to comment.