diff options
Diffstat (limited to 'src/mongo/db/repl/oplog_interface_remote.h')
-rw-r--r-- | src/mongo/db/repl/oplog_interface_remote.h | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/src/mongo/db/repl/oplog_interface_remote.h b/src/mongo/db/repl/oplog_interface_remote.h index ee91d9197d2..300e755f105 100644 --- a/src/mongo/db/repl/oplog_interface_remote.h +++ b/src/mongo/db/repl/oplog_interface_remote.h @@ -32,27 +32,24 @@ namespace mongo { - class DBClientConnection; +class DBClientConnection; namespace repl { - /** - * Reads oplog on remote server. - */ - - class OplogInterfaceRemote : public OplogInterface { - public: - - explicit OplogInterfaceRemote(DBClientConnection* conn, const std::string& collectionName); - std::string toString() const override; - std::unique_ptr<OplogInterface::Iterator> makeIterator() const override; - - private: +/** + * Reads oplog on remote server. + */ - DBClientConnection* _conn; - std::string _collectionName; +class OplogInterfaceRemote : public OplogInterface { +public: + explicit OplogInterfaceRemote(DBClientConnection* conn, const std::string& collectionName); + std::string toString() const override; + std::unique_ptr<OplogInterface::Iterator> makeIterator() const override; - }; +private: + DBClientConnection* _conn; + std::string _collectionName; +}; -} // namespace repl -} // namespace mongo +} // namespace repl +} // namespace mongo |