mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +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;
|
||||
}
|
||||
|
||||
int index = extends.BinarySearch(item);
|
||||
int index = extends.BinarySearch(item, comparer);
|
||||
if (index < 0)
|
||||
index = ~index;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user