mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
Fixing stupid mistake where the comparer was not being passed to the BinarySearch method
This commit is contained in:
parent
83902b61b6
commit
a552f84dab
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue