mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
(Fixed something that was missing from the last commit)
This commit is contained in:
parent
aff3ce418b
commit
5645702bd4
1 changed files with 2 additions and 2 deletions
|
|
@ -324,7 +324,7 @@ public:
|
|||
const ScopedLockType lock1 (getLock());
|
||||
const typename OtherHashMapType::ScopedLockType lock2 (otherHashMap.getLock());
|
||||
|
||||
hashSlots.swapWith (otherHashMap.slots);
|
||||
hashSlots.swapWith (otherHashMap.hashSlots);
|
||||
std::swap (totalNumItems, otherHashMap.totalNumItems);
|
||||
}
|
||||
|
||||
|
|
@ -400,7 +400,7 @@ public:
|
|||
if (index >= hashMap.getNumSlots())
|
||||
return false;
|
||||
|
||||
entry = hashMap.slots.getUnchecked (index++);
|
||||
entry = hashMap.hashSlots.getUnchecked (index++);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue