summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/keep_mutations.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-07-16 15:21:19 -0400
committerMathias Stearn <mathias@10gen.com>2015-07-23 12:26:07 -0400
commit2fcf4314964f566efa546d6ec9c53bfaf78c2972 (patch)
tree9cb19f8cfebaef12373953eb85b0a4fd3bc7ccd0 /src/mongo/db/exec/keep_mutations.h
parentd065c380ffc76fef63cf2fe7bacc439134ab39eb (diff)
downloadmongo-2fcf4314964f566efa546d6ec9c53bfaf78c2972.tar.gz
SERVER-19456 Use final designators where appropriate in PlanStages
Diffstat (limited to 'src/mongo/db/exec/keep_mutations.h')
-rw-r--r--src/mongo/db/exec/keep_mutations.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/exec/keep_mutations.h b/src/mongo/db/exec/keep_mutations.h
index d76ba32dac8..67ff15afca1 100644
--- a/src/mongo/db/exec/keep_mutations.h
+++ b/src/mongo/db/exec/keep_mutations.h
@@ -44,21 +44,21 @@ namespace mongo {
* results when possible. The query planner is responsible for determining when it's valid to
* merge these results.
*/
-class KeepMutationsStage : public PlanStage {
+class KeepMutationsStage final : public PlanStage {
public:
KeepMutationsStage(const MatchExpression* filter, WorkingSet* ws, PlanStage* child);
- virtual ~KeepMutationsStage();
+ ~KeepMutationsStage();
- virtual bool isEOF();
- virtual StageState work(WorkingSetID* out);
+ bool isEOF() final;
+ StageState work(WorkingSetID* out) final;
- virtual StageType stageType() const {
+ StageType stageType() const final {
return STAGE_KEEP_MUTATIONS;
}
- 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;