summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/group.h')
-rw-r--r--src/mongo/db/exec/group.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mongo/db/exec/group.h b/src/mongo/db/exec/group.h
index 97fb39d27e7..ce969c9335f 100644
--- a/src/mongo/db/exec/group.h
+++ b/src/mongo/db/exec/group.h
@@ -78,7 +78,7 @@ struct GroupRequest {
*
* Only created through the getExecutorGroup path.
*/
-class GroupStage : public PlanStage {
+class GroupStage final : public PlanStage {
MONGO_DISALLOW_COPYING(GroupStage);
public:
@@ -86,19 +86,18 @@ public:
const GroupRequest& request,
WorkingSet* workingSet,
PlanStage* child);
- virtual ~GroupStage() {}
- virtual StageState work(WorkingSetID* out);
- virtual bool isEOF();
- virtual void doReattachToOperationContext(OperationContext* opCtx);
+ StageState work(WorkingSetID* out) final;
+ bool isEOF() final;
+ void doReattachToOperationContext(OperationContext* opCtx) final;
- virtual StageType stageType() const {
+ StageType stageType() const final {
return STAGE_GROUP;
}
- virtual std::unique_ptr<PlanStageStats> getStats();
+ std::unique_ptr<PlanStageStats> getStats() final;
- virtual const SpecificStats* getSpecificStats() const;
+ const SpecificStats* getSpecificStats() const final;
static const char* kStageType;