summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/user.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2018-02-13 14:09:32 -0500
committerADAM David Alan Martin <adam.martin@10gen.com>2018-02-14 15:57:45 -0500
commit060e32706980ffc84aac250022d55f92afcffa69 (patch)
treeb179eee919fd60d08c0a1cfbef716b31a7db9925 /src/mongo/db/auth/user.cpp
parent8b6a6266458cfd065cb0133a909bae856e417882 (diff)
downloadmongo-060e32706980ffc84aac250022d55f92afcffa69.tar.gz
SERVER-33275 Remove `platform/unordered_`* headers
These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
Diffstat (limited to 'src/mongo/db/auth/user.cpp')
-rw-r--r--src/mongo/db/auth/user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/user.cpp b/src/mongo/db/auth/user.cpp
index a14a033a536..c233e8a1d8b 100644
--- a/src/mongo/db/auth/user.cpp
+++ b/src/mongo/db/auth/user.cpp
@@ -110,7 +110,7 @@ uint32_t User::getRefCount() const {
}
const ActionSet User::getActionsForResource(const ResourcePattern& resource) const {
- unordered_map<ResourcePattern, Privilege>::const_iterator it = _privileges.find(resource);
+ stdx::unordered_map<ResourcePattern, Privilege>::const_iterator it = _privileges.find(resource);
if (it == _privileges.end()) {
return ActionSet();
}