diff options
| author | Randolph Tan <randolph@10gen.com> | 2013-05-22 15:44:48 -0400 |
|---|---|---|
| committer | Randolph Tan <randolph@10gen.com> | 2013-05-22 15:44:48 -0400 |
| commit | b666da1bcd7e18ecc7067053cd0296dcfa2938c2 (patch) | |
| tree | f3172e6857bf402779b763fb727044a166863f75 /src/mongo/db/auth/role_name.h | |
| parent | b22026c9025967522dfaa0c7a1207835df641f49 (diff) | |
| download | mongo-b666da1bcd7e18ecc7067053cd0296dcfa2938c2.tar.gz | |
SERVER-9518 Initial implementation of RoleGraph data structures
Fix build error
Diffstat (limited to 'src/mongo/db/auth/role_name.h')
| -rw-r--r-- | src/mongo/db/auth/role_name.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/role_name.h b/src/mongo/db/auth/role_name.h index a7b249eb6bd..12062c83a5d 100644 --- a/src/mongo/db/auth/role_name.h +++ b/src/mongo/db/auth/role_name.h @@ -124,7 +124,7 @@ namespace mongo { MONGO_HASH_NAMESPACE_START template <> struct hash<mongo::RoleName> { size_t operator()(const mongo::RoleName& rname) const { - return hash<const std::string&>()(rname.getFullName()); + return hash<std::string>()(rname.getFullName()); } }; MONGO_HASH_NAMESPACE_END |
