summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_factory_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/remote_command_targeter_factory_impl.h')
-rw-r--r--src/mongo/client/remote_command_targeter_factory_impl.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mongo/client/remote_command_targeter_factory_impl.h b/src/mongo/client/remote_command_targeter_factory_impl.h
index f0118a01549..7ea16c0ab5b 100644
--- a/src/mongo/client/remote_command_targeter_factory_impl.h
+++ b/src/mongo/client/remote_command_targeter_factory_impl.h
@@ -32,18 +32,18 @@
namespace mongo {
- /**
- * Targeter factory that instantiates remote command targeters based on the type of the
- * connection. It will return RemoteCommandTargeterStandalone for a single node (MASTER) or
- * custom (CUSTOM) connection string and RemoteCommandTargeterRS for a SET connection string.
- * All other connection strings are not supported and will cause a failed invariant error.
- */
- class RemoteCommandTargeterFactoryImpl final : public RemoteCommandTargeterFactory {
- public:
- RemoteCommandTargeterFactoryImpl();
- ~RemoteCommandTargeterFactoryImpl();
+/**
+ * Targeter factory that instantiates remote command targeters based on the type of the
+ * connection. It will return RemoteCommandTargeterStandalone for a single node (MASTER) or
+ * custom (CUSTOM) connection string and RemoteCommandTargeterRS for a SET connection string.
+ * All other connection strings are not supported and will cause a failed invariant error.
+ */
+class RemoteCommandTargeterFactoryImpl final : public RemoteCommandTargeterFactory {
+public:
+ RemoteCommandTargeterFactoryImpl();
+ ~RemoteCommandTargeterFactoryImpl();
- std::unique_ptr<RemoteCommandTargeter> create(const ConnectionString& connStr) override;
- };
+ std::unique_ptr<RemoteCommandTargeter> create(const ConnectionString& connStr) override;
+};
-} // namespace mongo
+} // namespace mongo