1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Fixed SortedSet::remove() to return the removed element

This commit is contained in:
ed 2016-10-07 18:05:46 +01:00
parent c1e2e6ae40
commit f374eb6d98

View file

@ -376,7 +376,7 @@ public:
*/
ElementType remove (const int indexToRemove) noexcept
{
return data.remove (indexToRemove);
return data.removeAndReturn (indexToRemove);
}
/** Removes an item from the set.