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:
parent
c1e2e6ae40
commit
f374eb6d98
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue