mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 12:45:01 +00:00
Fixing stupid mistake where the comparer was not being passed to the BinarySearch method
This commit is contained in:
@@ -58,7 +58,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int index = extends.BinarySearch(item);
|
int index = extends.BinarySearch(item, comparer);
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
index = ~index;
|
index = ~index;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user