summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/recovery_unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/recovery_unit.h')
-rw-r--r--src/mongo/db/storage/recovery_unit.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/storage/recovery_unit.h b/src/mongo/db/storage/recovery_unit.h
index b80d134bec0..5279cf26b96 100644
--- a/src/mongo/db/storage/recovery_unit.h
+++ b/src/mongo/db/storage/recovery_unit.h
@@ -166,15 +166,4 @@ namespace mongo {
RecoveryUnit() { }
};
- class WriteUnitOfWork {
- MONGO_DISALLOW_COPYING(WriteUnitOfWork);
- public:
- WriteUnitOfWork(RecoveryUnit* ru) : _ru(ru) { _ru->beginUnitOfWork(); }
- ~WriteUnitOfWork(){ _ru->endUnitOfWork(); }
-
- void commit() { _ru->commitUnitOfWork(); }
-
- RecoveryUnit* const _ru;
- };
-
} // namespace mongo