summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_history_iterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/transaction_history_iterator.cpp')
-rw-r--r--src/mongo/db/transaction_history_iterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/transaction_history_iterator.cpp b/src/mongo/db/transaction_history_iterator.cpp
index fae77f37d7b..c4bd0c0b2f4 100644
--- a/src/mongo/db/transaction_history_iterator.cpp
+++ b/src/mongo/db/transaction_history_iterator.cpp
@@ -88,7 +88,7 @@ BSONObj findOneOplogEntry(OperationContext* opCtx,
Date_t::max());
auto exec = uassertStatusOK(
- getExecutorFind(opCtx, oplogRead.getCollection(), std::move(cq), permitYield));
+ getExecutorFind(opCtx, &oplogRead.getCollection(), std::move(cq), permitYield));
PlanExecutor::ExecState getNextResult;
try {