summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_cursor_manager.h
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-11-30 11:14:16 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2018-12-20 09:18:05 -0500
commit6b641e86656df78e9f7ad2f364dec35e19df332e (patch)
treedb8f5ae4deb29e82d63b6f653eb7632d2b66b22b /src/mongo/s/query/cluster_cursor_manager.h
parentfc1aa5592b8783dc802668659ec87826d789dd2f (diff)
downloadmongo-6b641e86656df78e9f7ad2f364dec35e19df332e.tar.gz
SERVER-38249 Implement stdx unordered_map and unordered_set as absl node hash map/set.
Remove stdx::unordered_multimap and multiset. Custom hashers to stdx::unordered_map are not trusted by default, we will rehash the produced hash with absl again to ensure we have a good hash function.
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r--src/mongo/s/query/cluster_cursor_manager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h
index 3b3d94c37c0..1a86765cd90 100644
--- a/src/mongo/s/query/cluster_cursor_manager.h
+++ b/src/mongo/s/query/cluster_cursor_manager.h
@@ -474,8 +474,7 @@ private:
class CursorEntry;
struct CursorEntryContainer;
using CursorEntryMap = stdx::unordered_map<CursorId, CursorEntry>;
- using NssToCursorContainerMap =
- stdx::unordered_map<NamespaceString, CursorEntryContainer, NamespaceString::Hasher>;
+ using NssToCursorContainerMap = stdx::unordered_map<NamespaceString, CursorEntryContainer>;
/**
* Transfers ownership of the given pinned cursor back to the manager, and moves the cursor to