mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Added method HashMap::Iterator::reset()
This commit is contained in:
parent
e1ba584203
commit
e051b5ad8f
1 changed files with 7 additions and 0 deletions
|
|
@ -424,6 +424,13 @@ public:
|
|||
return entry != nullptr ? entry->value : ValueType();
|
||||
}
|
||||
|
||||
/** Resets the iterator to its starting position. */
|
||||
void reset() noexcept
|
||||
{
|
||||
entry = nullptr;
|
||||
index = 0;
|
||||
}
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
const HashMap& hashMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue