diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-06-30 20:13:00 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-06 15:17:27 +0000 |
commit | 501b2dc980abcc8090cff1998141af30b42d8dd1 (patch) | |
tree | 804539df912dd3857cea6116851df468190877b3 /src/mongo/s/commands | |
parent | 3cc20216a850af1d4bf63956740d73e8fc3779df (diff) | |
download | mongo-501b2dc980abcc8090cff1998141af30b42d8dd1.tar.gz |
SERVER-67709 rename visit_helper
Diffstat (limited to 'src/mongo/s/commands')
-rw-r--r-- | src/mongo/s/commands/cluster_rename_collection_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp index 98584802646..7fdb7767d47 100644 --- a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp +++ b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp @@ -81,7 +81,7 @@ public: renameCollReq.setStayTemp(request().getStayTemp()); renameCollReq.setExpectedSourceUUID(request().getCollectionUUID()); stdx::visit( - visit_helper::Overloaded{ + OverloadedVisitor{ [&renameCollReq](bool dropTarget) { renameCollReq.setDropTarget(dropTarget); }, [&renameCollReq](const UUID& uuid) { renameCollReq.setDropTarget(true); |