diff options
author | Brian DeLeonardis <brian.deleonardis@mongodb.com> | 2020-10-12 22:12:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-14 20:06:45 +0000 |
commit | 1426816fd1ee13598f0d48a8c36ff8c8d7d24b28 (patch) | |
tree | a0d060cc967e1e678137dda7f87565f940a4e471 /src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp | |
parent | 4a2fbeebf482f4be1148479d12283819e55d933c (diff) | |
download | mongo-1426816fd1ee13598f0d48a8c36ff8c8d7d24b28.tar.gz |
SERVER-51094 Remove collection parameter in IndexDescriptor constructor
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp index f899a214669..66c0562350c 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_standard_index_test.cpp @@ -80,7 +80,7 @@ public: << "unique" << true); auto collection = std::make_unique<CollectionMock>(NamespaceString(ns)); - IndexDescriptor desc(collection.get(), "", spec); + IndexDescriptor desc("", spec); invariant(desc.isIdIndex()); KVPrefix prefix = KVPrefix::kNotPrefixed; @@ -112,7 +112,7 @@ public: auto collection = std::make_unique<CollectionMock>(NamespaceString(ns)); - IndexDescriptor& desc = _descriptors.emplace_back(collection.get(), "", spec); + IndexDescriptor& desc = _descriptors.emplace_back("", spec); KVPrefix prefix = KVPrefix::kNotPrefixed; StatusWith<std::string> result = WiredTigerIndex::generateCreateString( |