diff --git a/include/etl/algorithm.h b/include/etl/algorithm.h index 61a81556..f61fe6f0 100644 --- a/include/etl/algorithm.h +++ b/include/etl/algorithm.h @@ -3350,22 +3350,6 @@ namespace etl etl::sort_heap(first, last, compare); } - //*************************************************************************** - /// Sorts the elements using heap sort. - /// Uses user defined comparison. - ///\ingroup algorithm - //*************************************************************************** - template - void heap_sort(TIterator first, TIterator last, TCompare compare) - { - if (!etl::is_heap(first, last, compare)) - { - etl::make_heap(first, last, compare); - } - - etl::sort_heap(first, last, compare); - } - //*************************************************************************** /// Sorts the elements using heap sort. ///\ingroup algorithm