summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context_for_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/expression_context_for_test.h')
-rw-r--r--src/mongo/db/pipeline/expression_context_for_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/expression_context_for_test.h b/src/mongo/db/pipeline/expression_context_for_test.h
index d093cfe2bfa..234b54e1a10 100644
--- a/src/mongo/db/pipeline/expression_context_for_test.h
+++ b/src/mongo/db/pipeline/expression_context_for_test.h
@@ -42,8 +42,8 @@ class ExpressionContextForTest : public ExpressionContext {
public:
ExpressionContextForTest() = default;
- ExpressionContextForTest(OperationContext* txn, const AggregationRequest& request)
- : ExpressionContext(txn, request, nullptr, {}) {}
+ ExpressionContextForTest(OperationContext* opCtx, const AggregationRequest& request)
+ : ExpressionContext(opCtx, request, nullptr, {}) {}
/**
* Changes the collation used by this ExpressionContext. Must not be changed after parsing a