summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/skip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/skip.cpp')
-rw-r--r--src/mongo/db/exec/skip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/skip.cpp b/src/mongo/db/exec/skip.cpp
index bc488c1b410..94bb81153e4 100644
--- a/src/mongo/db/exec/skip.cpp
+++ b/src/mongo/db/exec/skip.cpp
@@ -43,11 +43,11 @@ using std::vector;
// static
const char* SkipStage::kStageType = "SKIP";
-SkipStage::SkipStage(OperationContext* opCtx,
+SkipStage::SkipStage(ExpressionContext* expCtx,
long long toSkip,
WorkingSet* ws,
std::unique_ptr<PlanStage> child)
- : PlanStage(kStageType, opCtx), _ws(ws), _toSkip(toSkip) {
+ : PlanStage(kStageType, expCtx), _ws(ws), _toSkip(toSkip) {
_children.emplace_back(std::move(child));
}