Changed std::lower_bound to etl::lower_bound

This commit is contained in:
John Wellbelove 2022-08-04 15:29:59 +01:00
parent 3fd90b19eb
commit 1b8d5a307a

View File

@ -430,7 +430,7 @@ namespace etl
template <typename TIterator, class T, class Compare>
bool binary_search(TIterator first, TIterator last, const T& value, Compare compare)
{
first = std::lower_bound(first, last, value, compare);
first = etl::lower_bound(first, last, value, compare);
return (!(first == last) && !(compare(value, *first)));
}