summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index 9e1a496660a..b04fce35c50 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -109,7 +109,7 @@ public:
void onEmptyCapped(OperationContext* opCtx,
const NamespaceString& collectionName,
OptionalCollectionUUID uuid) override {}
- void onTransactionCommit(OperationContext* opCtx) override{};
+ void onTransactionCommit(OperationContext* opCtx, bool wasPrepared) override{};
void onTransactionPrepare(OperationContext* opCtx) override{};
void onTransactionAbort(OperationContext* opCtx) override{};
void onReplicationRollback(OperationContext* opCtx,