summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/count.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/count.cpp')
-rw-r--r--src/mongo/db/exec/count.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/count.cpp b/src/mongo/db/exec/count.cpp
index b1a15f756e6..61e50d7b305 100644
--- a/src/mongo/db/exec/count.cpp
+++ b/src/mongo/db/exec/count.cpp
@@ -44,12 +44,12 @@ using stdx::make_unique;
// static
const char* CountStage::kStageType = "COUNT";
-CountStage::CountStage(OperationContext* txn,
+CountStage::CountStage(OperationContext* opCtx,
Collection* collection,
CountStageParams params,
WorkingSet* ws,
PlanStage* child)
- : PlanStage(kStageType, txn),
+ : PlanStage(kStageType, opCtx),
_collection(collection),
_params(std::move(params)),
_leftToSkip(_params.skip),