mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a new method Array::sort() which uses the default comparator for simple types
This commit is contained in:
parent
663eca60ad
commit
4fd8913037
2 changed files with 12 additions and 4 deletions
|
|
@ -941,9 +941,7 @@ private:
|
|||
}
|
||||
|
||||
bufferSizes.addIfNotAlreadyThere (preferredSize);
|
||||
|
||||
DefaultElementComparator <int> comparator;
|
||||
bufferSizes.sort (comparator);
|
||||
bufferSizes.sort();
|
||||
}
|
||||
|
||||
double getSampleRate() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue