diff options
Diffstat (limited to 'JavaScriptCore/wtf/HashMap.h')
-rw-r--r-- | JavaScriptCore/wtf/HashMap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/JavaScriptCore/wtf/HashMap.h b/JavaScriptCore/wtf/HashMap.h index d63a8d4..09094d1 100644 --- a/JavaScriptCore/wtf/HashMap.h +++ b/JavaScriptCore/wtf/HashMap.h @@ -133,9 +133,10 @@ namespace WTF { static unsigned hash(const T& key) { return Translator::hash(key); } static bool equal(const KeyType& a, const T& b) { return Translator::equal(a, b); } - static void translate(ValueType& location, const T& key, const MappedType&, unsigned hashCode) + static void translate(ValueType& location, const T& key, const MappedType& mapped, unsigned hashCode) { Translator::translate(location.first, key, hashCode); + location.second = mapped; } }; |