diff options
Diffstat (limited to 'src/mongo/db/storage/snapshot_manager.h')
-rw-r--r-- | src/mongo/db/storage/snapshot_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/snapshot_manager.h b/src/mongo/db/storage/snapshot_manager.h index 8d4b81fd5c3..ef588d1c1a2 100644 --- a/src/mongo/db/storage/snapshot_manager.h +++ b/src/mongo/db/storage/snapshot_manager.h @@ -58,7 +58,7 @@ public: * This must be the first method called after starting a ScopedTransaction, and it is * illegal to start a WriteUnitOfWork inside of the same ScopedTransaction. */ - virtual Status prepareForCreateSnapshot(OperationContext* txn) = 0; + virtual Status prepareForCreateSnapshot(OperationContext* opCtx) = 0; /** * Creates a new named snapshot representing the same point-in-time captured in @@ -68,7 +68,7 @@ public: * * Caller guarantees that this name must compare greater than all existing snapshots. */ - virtual Status createSnapshot(OperationContext* txn, const SnapshotName& name) = 0; + virtual Status createSnapshot(OperationContext* opCtx, const SnapshotName& name) = 0; /** * Sets the snapshot to be used for committed reads. |