summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer/op_observer_impl_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer/op_observer_impl_test.cpp')
-rw-r--r--src/mongo/db/op_observer/op_observer_impl_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/op_observer/op_observer_impl_test.cpp b/src/mongo/db/op_observer/op_observer_impl_test.cpp
index 3dd8e485f33..6d46e174d88 100644
--- a/src/mongo/db/op_observer/op_observer_impl_test.cpp
+++ b/src/mongo/db/op_observer/op_observer_impl_test.cpp
@@ -96,7 +96,7 @@ void beginRetryableWriteWithTxnNumber(
{*opCtx->getTxnNumber()},
boost::none /* autocommit */,
boost::none /* startTransaction */);
-};
+}
void beginNonRetryableTransactionWithTxnNumber(
OperationContext* opCtx,
@@ -110,7 +110,7 @@ void beginNonRetryableTransactionWithTxnNumber(
auto txnParticipant = TransactionParticipant::get(opCtx);
txnParticipant.beginOrContinue(
opCtx, {*opCtx->getTxnNumber()}, false /* autocommit */, true /* startTransaction */);
-};
+}
void beginRetryableInternalTransactionWithTxnNumber(
OperationContext* opCtx,
@@ -124,7 +124,7 @@ void beginRetryableInternalTransactionWithTxnNumber(
auto txnParticipant = TransactionParticipant::get(opCtx);
txnParticipant.beginOrContinue(
opCtx, {*opCtx->getTxnNumber()}, false /* autocommit */, true /* startTransaction */);
-};
+}
template <typename OpObserverType>
void commitUnpreparedTransaction(OperationContext* opCtx, OpObserverType& opObserver) {