summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2019-03-07 19:33:27 -0500
committerGeert Bosch <geert@mongodb.com>2019-03-07 19:33:27 -0500
commit7f6279afcc08a84cd980ea193b9962eab0ae4f25 (patch)
treec905df0551e07f69808c0b46d6ef3d5b00eeec72 /src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp
parenta76788e89bf54abacccefeba62d4e3775f20c555 (diff)
downloadmongo-7f6279afcc08a84cd980ea193b9962eab0ae4f25.tar.gz
SERVER-40020 Make isCollectionLockHeldForMode take NamespaceString, not StringData
Diffstat (limited to 'src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp')
-rw-r--r--src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp b/src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp
index 80c1718ff57..0dc09150287 100644
--- a/src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp
+++ b/src/mongo/db/storage/kv/kv_collection_catalog_entry_test.cpp
@@ -83,7 +83,7 @@ public:
WriteUnitOfWork wuow(opCtx.get());
const bool allocateDefaultSpace = true;
ASSERT_OK(dbEntry->createCollection(
- opCtx.get(), _nss.ns(), CollectionOptions(), allocateDefaultSpace));
+ opCtx.get(), _nss, CollectionOptions(), allocateDefaultSpace));
wuow.commit();
}
}