diff options
Diffstat (limited to 'src/mongo/db/pipeline/expression_function.h')
-rw-r--r-- | src/mongo/db/pipeline/expression_function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/expression_function.h b/src/mongo/db/pipeline/expression_function.h index d570bdfbc89..b8d6b95e35a 100644 --- a/src/mongo/db/pipeline/expression_function.h +++ b/src/mongo/db/pipeline/expression_function.h @@ -40,7 +40,7 @@ namespace mongo { */ class ExpressionFunction final : public Expression { public: - static boost::intrusive_ptr<Expression> parse(ExpressionContext* const expCtx, + static boost::intrusive_ptr<Expression> parse(ExpressionContext* expCtx, BSONElement expr, const VariablesParseState& vps); @@ -83,7 +83,7 @@ public: static constexpr auto kJavaScript = "js"; private: - ExpressionFunction(ExpressionContext* const expCtx, + ExpressionFunction(ExpressionContext* expCtx, boost::intrusive_ptr<Expression> passedArgs, bool assignFirstArgToThis, std::string funcSourceString, |