summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/group_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/group_cmd.cpp')
-rw-r--r--src/mongo/db/commands/group_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/group_cmd.cpp b/src/mongo/db/commands/group_cmd.cpp
index b2d1735c06b..c7f0b70c6ba 100644
--- a/src/mongo/db/commands/group_cmd.cpp
+++ b/src/mongo/db/commands/group_cmd.cpp
@@ -143,7 +143,7 @@ private:
return statusWithPlanExecutor.getStatus();
}
- unique_ptr<PlanExecutor> planExecutor = std::move(statusWithPlanExecutor.getValue());
+ auto planExecutor = std::move(statusWithPlanExecutor.getValue());
Explain::explainStages(planExecutor.get(), coll, verbosity, out);
return Status::OK();
@@ -174,7 +174,7 @@ private:
return appendCommandStatus(result, statusWithPlanExecutor.getStatus());
}
- unique_ptr<PlanExecutor> planExecutor = std::move(statusWithPlanExecutor.getValue());
+ auto planExecutor = std::move(statusWithPlanExecutor.getValue());
auto curOp = CurOp::get(opCtx);
{