From e0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf Mon Sep 17 00:00:00 2001 From: Tess Avitabile Date: Thu, 14 Sep 2017 16:40:46 -0400 Subject: SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContext --- src/mongo/db/matcher/expression_with_placeholder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/matcher/expression_with_placeholder.h') diff --git a/src/mongo/db/matcher/expression_with_placeholder.h b/src/mongo/db/matcher/expression_with_placeholder.h index 27047def6d2..a60b55c0bc2 100644 --- a/src/mongo/db/matcher/expression_with_placeholder.h +++ b/src/mongo/db/matcher/expression_with_placeholder.h @@ -51,7 +51,7 @@ public: * ownership of 'rawFilter'. */ static StatusWith> parse( - BSONObj rawFilter, const CollatorInterface* collator); + BSONObj rawFilter, const boost::intrusive_ptr& expCtx); /** * Construct a new ExpressionWithPlaceholder. 'filter' must point to a valid MatchExpression. -- cgit v1.2.1