summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/resource_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/concurrency/resource_id.h')
-rw-r--r--src/mongo/db/concurrency/resource_id.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/concurrency/resource_id.h b/src/mongo/db/concurrency/resource_id.h
index b5503fba9d5..8631619d37b 100644
--- a/src/mongo/db/concurrency/resource_id.h
+++ b/src/mongo/db/concurrency/resource_id.h
@@ -37,7 +37,6 @@
namespace mongo {
-namespace newlm {
/**
* Hierarchy of resource types. The lock manager knows nothing about this hierarchy, it is
@@ -115,13 +114,12 @@ namespace newlm {
//
// BOOST_STATIC_ASSERT(sizeof(ResourceId) == sizeof(uint64_t));
-} // namespace newlm
} // namespace mongo
MONGO_HASH_NAMESPACE_START
- template <> struct hash<mongo::newlm::ResourceId> {
- size_t operator()(const mongo::newlm::ResourceId& resource) const {
+ template <> struct hash<mongo::ResourceId> {
+ size_t operator()(const mongo::ResourceId& resource) const {
return resource;
}
};