summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/sort.h')
-rw-r--r--src/mongo/db/exec/sort.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/exec/sort.h b/src/mongo/db/exec/sort.h
index 39a32ba9c88..f0a29b84efc 100644
--- a/src/mongo/db/exec/sort.h
+++ b/src/mongo/db/exec/sort.h
@@ -139,23 +139,23 @@ private:
* Preconditions: For each field in 'pattern', all inputs in the child must handle a
* getFieldDotted for that field.
*/
-class SortStage : public PlanStage {
+class SortStage final : public PlanStage {
public:
SortStage(const SortStageParams& params, WorkingSet* ws, PlanStage* child);
- virtual ~SortStage();
+ ~SortStage();
- virtual bool isEOF();
- virtual StageState work(WorkingSetID* out);
+ bool isEOF() final;
+ StageState work(WorkingSetID* out) final;
- virtual void doInvalidate(OperationContext* txn, const RecordId& dl, InvalidationType type);
+ void doInvalidate(OperationContext* txn, const RecordId& dl, InvalidationType type) final;
- virtual StageType stageType() const {
+ StageType stageType() const final {
return STAGE_SORT;
}
std::unique_ptr<PlanStageStats> getStats();
- virtual const SpecificStats* getSpecificStats() const;
+ const SpecificStats* getSpecificStats() const final;
static const char* kStageType;