diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/repl/storage_interface.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/repl/storage_interface.h')
-rw-r--r-- | src/mongo/db/repl/storage_interface.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/mongo/db/repl/storage_interface.h b/src/mongo/db/repl/storage_interface.h index df51692b2f1..1f9d0576741 100644 --- a/src/mongo/db/repl/storage_interface.h +++ b/src/mongo/db/repl/storage_interface.h @@ -32,28 +32,26 @@ namespace mongo { - class OperationContext; +class OperationContext; namespace repl { +/** + * Storage interface used by used by the ReplicationExecutor inside mongod for supporting + * ReplicationExectutor's ability to take database locks. + */ +class StorageInterface { +public: + virtual ~StorageInterface(); + /** - * Storage interface used by used by the ReplicationExecutor inside mongod for supporting - * ReplicationExectutor's ability to take database locks. + * Creates an operation context for running database operations. */ - class StorageInterface { - public: - virtual ~StorageInterface(); - - /** - * Creates an operation context for running database operations. - */ - virtual OperationContext* createOperationContext() = 0; - - protected: - - StorageInterface(); + virtual OperationContext* createOperationContext() = 0; - }; +protected: + StorageInterface(); +}; } // namespace repl -} // namespace mongo +} // namespace mongo |