diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-15 16:55:49 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-26 14:30:05 -0400 |
commit | 5a4614d3b9f6f65fc72ebc6ec7033996b7e97b68 (patch) | |
tree | bffef69d1c984ba44166d957214084bd528940f3 /src/mongo/s/config.h | |
parent | 6ff771d5ea56c15ffc298f0d78b76f427d171052 (diff) | |
download | mongo-5a4614d3b9f6f65fc72ebc6ec7033996b7e97b68.tar.gz |
SERVER-18127 Shard class should use ConnectionString for addresses
Currently we convert indiscriminately between ConnectionString and
std::string. This change unifies all places to use only ConnectionString.
Diffstat (limited to 'src/mongo/s/config.h')
-rw-r--r-- | src/mongo/s/config.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/s/config.h b/src/mongo/s/config.h index 3be7bc1bba7..a2fa72877a3 100644 --- a/src/mongo/s/config.h +++ b/src/mongo/s/config.h @@ -30,7 +30,6 @@ #include <boost/shared_ptr.hpp> -#include "mongo/client/dbclient_rs.h" #include "mongo/s/client/shard.h" #include "mongo/s/shard_key_pattern.h" #include "mongo/util/concurrency/mutex.h" @@ -206,8 +205,6 @@ namespace mongo { void reloadSettings(); - ConnectionString getConnectionString() const; - void replicaSetChange(const std::string& setName, const std::string& newConnectionString); static int VERSION; |