summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2021-09-03 19:11:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-08 07:54:48 +0000
commitc90f38192378c8526354465991830524eda90c1f (patch)
tree73ce6a76f4dc6f8eaa206309becf5881aaf20a32 /src/mongo/dbtests/wildcard_multikey_persistence_test.cpp
parenta0a0d7eecccf38f028a77c4cc8b0f13f8673f675 (diff)
downloadmongo-c90f38192378c8526354465991830524eda90c1f.tar.gz
SERVER-59782 migrate makeGuard calls to ScopeGuard
Diffstat (limited to 'src/mongo/dbtests/wildcard_multikey_persistence_test.cpp')
-rw-r--r--src/mongo/dbtests/wildcard_multikey_persistence_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp
index 89595a0c762..112a0205348 100644
--- a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp
+++ b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp
@@ -206,7 +206,7 @@ protected:
CollectionWriter coll(autoColl);
MultiIndexBlock indexer;
- auto abortOnExit = makeGuard(
+ ScopeGuard abortOnExit(
[&] { indexer.abortIndexBuild(opCtx(), coll, MultiIndexBlock::kNoopOnCleanUpFn); });
// Initialize the index builder and add all documents currently in the collection.