Browse Source

(Fixed something that was missing from the last commit)

tags/2021-05-28
jules 12 years ago
parent
commit
5645702bd4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_core/containers/juce_HashMap.h

+ 2
- 2
modules/juce_core/containers/juce_HashMap.h View File

@@ -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…
Cancel
Save