Browse Source

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

tags/2021-05-28
ed 9 years ago
parent
commit
f374eb6d98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_SortedSet.h

+ 1
- 1
modules/juce_core/containers/juce_SortedSet.h 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.


Loading…
Cancel
Save