summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/op_observer/op_observer_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer/op_observer_impl.cpp b/src/mongo/db/op_observer/op_observer_impl.cpp
index 150f72c2150..db7e43557b7 100644
--- a/src/mongo/db/op_observer/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer/op_observer_impl.cpp
@@ -1655,7 +1655,7 @@ void packTransactionStatementsForApplyOps(
// Returns the optime of the written oplog entry.
OpTimeBundle logApplyOps(OperationContext* opCtx,
MutableOplogEntry* oplogEntry,
- boost::optional<DurableTxnStateEnum> txnState,
+ DurableTxnStateEnum txnState,
boost::optional<repl::OpTime> startOpTime,
std::vector<StmtId> stmtIdsWritten,
const bool updateTxnTable,