summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/projection_exec.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/exec/projection_exec.h
parent026b5f6f38c883c48d063ac8ee736f7330227281 (diff)
downloadmongo-e0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf.tar.gz
SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContext
Diffstat (limited to 'src/mongo/db/exec/projection_exec.h')
-rw-r--r--src/mongo/db/exec/projection_exec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/projection_exec.h b/src/mongo/db/exec/projection_exec.h
index 9575d59042f..829cdf0d43a 100644
--- a/src/mongo/db/exec/projection_exec.h
+++ b/src/mongo/db/exec/projection_exec.h
@@ -66,7 +66,8 @@ public:
typedef StringMap<MatchExpression*> Matchers;
typedef StringMap<MetaProjection> MetaMap;
- ProjectionExec(const BSONObj& spec,
+ ProjectionExec(OperationContext* opCtx,
+ const BSONObj& spec,
const MatchExpression* queryExpression,
const CollatorInterface* collator);