diff options
Diffstat (limited to 'src/mongo/db/pipeline/accumulation_statement.h')
-rw-r--r-- | src/mongo/db/pipeline/accumulation_statement.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/accumulation_statement.h b/src/mongo/db/pipeline/accumulation_statement.h index 5a7c578ff65..92f7906ed9e 100644 --- a/src/mongo/db/pipeline/accumulation_statement.h +++ b/src/mongo/db/pipeline/accumulation_statement.h @@ -72,8 +72,10 @@ public: * * Throws a UserException if parsing fails. */ - static AccumulationStatement parseAccumulationStatement(const BSONElement& elem, - const VariablesParseState& vps); + static AccumulationStatement parseAccumulationStatement( + const boost::intrusive_ptr<ExpressionContext>& expCtx, + const BSONElement& elem, + const VariablesParseState& vps); /** * Registers an Accumulator with a parsing function, so that when an accumulator with the given |