diff options
author | Daniel Gómez Ferro <daniel.gomezferro@mongodb.com> | 2021-11-26 14:39:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-02 09:08:59 +0000 |
commit | a51938f6f77a6c4934c0cc91bca31cebb6af62e5 (patch) | |
tree | c6ad3f87cc216930c8707fdb9c7d3d2cfaf084cb /src/mongo/db/catalog/collection_test.cpp | |
parent | c5f47b7a04ce688b088c1373805e876b0debae66 (diff) | |
download | mongo-a51938f6f77a6c4934c0cc91bca31cebb6af62e5.tar.gz |
SERVER-60837 Remove CollectionUUID and OptionalCollectionUUID aliases
Diffstat (limited to 'src/mongo/db/catalog/collection_test.cpp')
-rw-r--r-- | src/mongo/db/catalog/collection_test.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/collection_test.cpp b/src/mongo/db/catalog/collection_test.cpp index 6480eef202b..a95c7a9b93f 100644 --- a/src/mongo/db/catalog/collection_test.cpp +++ b/src/mongo/db/catalog/collection_test.cpp @@ -488,12 +488,11 @@ TEST_F(CatalogTestFixture, CollectionPtrYieldable) { int numRestoreCalls = 0; - CollectionPtr coll(operationContext(), - &beforeYield, - [&afterYield, &numRestoreCalls](OperationContext*, CollectionUUID) { - ++numRestoreCalls; - return &afterYield; - }); + CollectionPtr coll( + operationContext(), &beforeYield, [&afterYield, &numRestoreCalls](OperationContext*, UUID) { + ++numRestoreCalls; + return &afterYield; + }); ASSERT_TRUE(coll); ASSERT_EQ(coll.get(), &beforeYield); |