diff --git a/include/etl/algorithm.h b/include/etl/algorithm.h index 467d2758..bb787032 100644 --- a/include/etl/algorithm.h +++ b/include/etl/algorithm.h @@ -430,7 +430,7 @@ namespace etl template 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))); }