summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-05-26 12:52:02 -0400
committerMathias Stearn <mathias@10gen.com>2015-06-09 16:33:21 -0400
commit4205560627c73c0c5f2acb09deec0b66fe90dff7 (patch)
tree524f978de92c6dea175ba1916787c28805d330d7 /src/mongo/db
parentac0ff84d3fd4c127af8cbcea560d3793a3c3f131 (diff)
downloadmongo-4205560627c73c0c5f2acb09deec0b66fe90dff7.tar.gz
SERVER-18660 Use C++11 final modifiers in accumulator.h
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/pipeline/accumulator.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/accumulator.h b/src/mongo/db/pipeline/accumulator.h
index 0e1c6db431b..ab0ad52ad86 100644
--- a/src/mongo/db/pipeline/accumulator.h
+++ b/src/mongo/db/pipeline/accumulator.h
@@ -190,12 +190,12 @@ namespace mongo {
};
- class AccumulatorStdDev : public Accumulator {
+ class AccumulatorStdDev final : public Accumulator {
public:
- virtual void processInternal(const Value& input, bool merging);
- virtual Value getValue(bool toBeMerged) const;
- virtual const char* getOpName() const;
- virtual void reset();
+ void processInternal(const Value& input, bool merging) final;
+ Value getValue(bool toBeMerged) const final;
+ const char* getOpName() const final;
+ void reset() final;
static boost::intrusive_ptr<Accumulator> createSamp();
static boost::intrusive_ptr<Accumulator> createPop();