diff options
Diffstat (limited to 'src/mongo/client/remote_command_targeter_standalone.h')
-rw-r--r-- | src/mongo/client/remote_command_targeter_standalone.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mongo/client/remote_command_targeter_standalone.h b/src/mongo/client/remote_command_targeter_standalone.h index 06e5c6acc3c..14ff9b6eef7 100644 --- a/src/mongo/client/remote_command_targeter_standalone.h +++ b/src/mongo/client/remote_command_targeter_standalone.h @@ -33,18 +33,18 @@ namespace mongo { - /** - * Implements a standalone instance remote command targeter, which always returns the same - * host regardless of the read preferences. - */ - class RemoteCommandTargeterStandalone final : public RemoteCommandTargeter { - public: - explicit RemoteCommandTargeterStandalone(const HostAndPort& hostAndPort); +/** + * Implements a standalone instance remote command targeter, which always returns the same + * host regardless of the read preferences. + */ +class RemoteCommandTargeterStandalone final : public RemoteCommandTargeter { +public: + explicit RemoteCommandTargeterStandalone(const HostAndPort& hostAndPort); - StatusWith<HostAndPort> findHost(const ReadPreferenceSetting& readPref) override; + StatusWith<HostAndPort> findHost(const ReadPreferenceSetting& readPref) override; - private: - const HostAndPort _hostAndPort; - }; +private: + const HostAndPort _hostAndPort; +}; -} // namespace mongo +} // namespace mongo |