diff options
Diffstat (limited to 'src/mongo/db/exec/or.cpp')
-rw-r--r-- | src/mongo/db/exec/or.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/exec/or.cpp b/src/mongo/db/exec/or.cpp index 3800536b62c..c50a4981e94 100644 --- a/src/mongo/db/exec/or.cpp +++ b/src/mongo/db/exec/or.cpp @@ -44,8 +44,11 @@ using std::vector; // static const char* OrStage::kStageType = "OR"; -OrStage::OrStage(OperationContext* opCtx, WorkingSet* ws, bool dedup, const MatchExpression* filter) - : PlanStage(kStageType, opCtx), _ws(ws), _filter(filter), _currentChild(0), _dedup(dedup) {} +OrStage::OrStage(ExpressionContext* expCtx, + WorkingSet* ws, + bool dedup, + const MatchExpression* filter) + : PlanStage(kStageType, expCtx), _ws(ws), _filter(filter), _currentChild(0), _dedup(dedup) {} void OrStage::addChild(std::unique_ptr<PlanStage> child) { _children.emplace_back(std::move(child)); |