FastLED 3.9.15
Loading...
Searching...
No Matches

◆ sort_small() [2/2]

template<typename Iterator, typename Compare>
void fl::sort_small ( Iterator first,
Iterator last,
Compare comp )

Definition at line 612 of file algorithm.h.

612 {
613 if (first == last || first + 1 == last) {
614 return; // Already sorted or empty
615 }
616 detail::insertion_sort(first, last, comp);
617}
void insertion_sort(Iterator first, Iterator last, Compare comp) FL_NOEXCEPT
Definition algorithm.h:298

References FL_NOEXCEPT, and fl::detail::insertion_sort().

Referenced by fl::ChannelManager::addDriver(), fl::ChannelManager::setDriverPriority(), and sort_small().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: