1
0
Fork 0
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:
jules 2015-11-16 16:40:26 +00:00
parent 663eca60ad
commit 4fd8913037
2 changed files with 12 additions and 4 deletions

View file

@ -941,9 +941,7 @@ private:
}
bufferSizes.addIfNotAlreadyThere (preferredSize);
DefaultElementComparator <int> comparator;
bufferSizes.sort (comparator);
bufferSizes.sort();
}
double getSampleRate() const