summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_with_placeholder.h
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-09-14 16:40:46 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2017-09-29 09:30:56 -0400
commite0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf (patch)
tree237c46d1e4fd1080ac58b890485fb6197d53484c /src/mongo/db/matcher/expression_with_placeholder.h
parent026b5f6f38c883c48d063ac8ee736f7330227281 (diff)
downloadmongo-e0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf.tar.gz
SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContext
Diffstat (limited to 'src/mongo/db/matcher/expression_with_placeholder.h')
-rw-r--r--src/mongo/db/matcher/expression_with_placeholder.h2
1 files changed, 1 insertions, 1 deletions
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<std::unique_ptr<ExpressionWithPlaceholder>> parse(
- BSONObj rawFilter, const CollatorInterface* collator);
+ BSONObj rawFilter, const boost::intrusive_ptr<ExpressionContext>& expCtx);
/**
* Construct a new ExpressionWithPlaceholder. 'filter' must point to a valid MatchExpression.