From 5645702bd40ef7209e4d04d30df3bbdf4e444618 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 4 Apr 2014 07:27:19 +0100 Subject: [PATCH] (Fixed something that was missing from the last commit) --- modules/juce_core/containers/juce_HashMap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_core/containers/juce_HashMap.h b/modules/juce_core/containers/juce_HashMap.h index ab018ca578..07d02b401f 100644 --- a/modules/juce_core/containers/juce_HashMap.h +++ b/modules/juce_core/containers/juce_HashMap.h @@ -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;