summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2022-06-30 20:13:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-06 15:17:27 +0000
commit501b2dc980abcc8090cff1998141af30b42d8dd1 (patch)
tree804539df912dd3857cea6116851df468190877b3 /src/mongo/s/commands
parent3cc20216a850af1d4bf63956740d73e8fc3779df (diff)
downloadmongo-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.cpp2
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);