summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_coordinator_catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/transaction_coordinator_catalog.h')
-rw-r--r--src/mongo/db/transaction_coordinator_catalog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/transaction_coordinator_catalog.h b/src/mongo/db/transaction_coordinator_catalog.h
index bf28bf57e1f..85fb7609ab2 100644
--- a/src/mongo/db/transaction_coordinator_catalog.h
+++ b/src/mongo/db/transaction_coordinator_catalog.h
@@ -68,10 +68,9 @@ public:
/**
* Returns the coordinator with the given session id and transaction number, if it exists. If it
- * does not exist, return boost::none.
+ * does not exist, return nullptr.
*/
- boost::optional<std::shared_ptr<TransactionCoordinator>> get(LogicalSessionId lsid,
- TxnNumber txnNumber);
+ std::shared_ptr<TransactionCoordinator> get(LogicalSessionId lsid, TxnNumber txnNumber);
/**
* Returns the coordinator with the highest transaction number with the given session id, if it