Commit dc45f4c0 authored by Xiao Shi's avatar Xiao Shi Committed by Facebook Github Bot

fix default hasher

Summary: Revert changes accidentally slipped into D7405057.

Reviewed By: yfeldblum, Orvid

Differential Revision: D7419691

fbshipit-source-id: ab9bea3393eb33aa19b3009263a53ac91e30692c
parent b403ae13
...@@ -32,7 +32,7 @@ class F14NodeMap; ...@@ -32,7 +32,7 @@ class F14NodeMap;
template < template <
typename Key, typename Key,
typename Mapped, typename Mapped,
typename Hasher = std::hash<Key>, typename Hasher = f14::DefaultHasher<Key>,
typename KeyEqual = f14::DefaultKeyEqual<Key>, typename KeyEqual = f14::DefaultKeyEqual<Key>,
typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>> typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>>
class F14ValueMap; class F14ValueMap;
...@@ -40,7 +40,7 @@ class F14ValueMap; ...@@ -40,7 +40,7 @@ class F14ValueMap;
template < template <
typename Key, typename Key,
typename Mapped, typename Mapped,
typename Hasher = std::hash<Key>, typename Hasher = f14::DefaultHasher<Key>,
typename KeyEqual = f14::DefaultKeyEqual<Key>, typename KeyEqual = f14::DefaultKeyEqual<Key>,
typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>> typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>>
class F14VectorMap; class F14VectorMap;
...@@ -48,7 +48,7 @@ class F14VectorMap; ...@@ -48,7 +48,7 @@ class F14VectorMap;
template < template <
typename Key, typename Key,
typename Mapped, typename Mapped,
typename Hasher = std::hash<Key>, typename Hasher = f14::DefaultHasher<Key>,
typename KeyEqual = f14::DefaultKeyEqual<Key>, typename KeyEqual = f14::DefaultKeyEqual<Key>,
typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>> typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>>
class F14FastMap; class F14FastMap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment