summaryrefslogtreecommitdiff
path: root/src/mongo/client/connection_string.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-16 15:21:35 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-16 16:18:39 -0400
commitddffe2823221656e10844e7681c5bd766b74c21d (patch)
treed98da3d02977a799e9b29143fed7a2ed60e1533b /src/mongo/client/connection_string.h
parentea73cdf50ede2622c9e005eb6e51cdc6ccb60650 (diff)
downloadmongo-ddffe2823221656e10844e7681c5bd766b74c21d.tar.gz
SERVER-18567 Remove legacy ConnectionString::parse
Removes the legacy ConnectionString::parse method and make all places use the variant, which returns StatusWith<ConnectionString>.
Diffstat (limited to 'src/mongo/client/connection_string.h')
-rw-r--r--src/mongo/client/connection_string.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/client/connection_string.h b/src/mongo/client/connection_string.h
index 21c94cfb95c..1fed4868fa5 100644
--- a/src/mongo/client/connection_string.h
+++ b/src/mongo/client/connection_string.h
@@ -109,7 +109,6 @@ public:
DBClientBase* connect(std::string& errmsg, double socketTimeout = 0) const;
- static ConnectionString parse(const std::string& url, std::string& errmsg);
static StatusWith<ConnectionString> parse(const std::string& url);
static std::string typeToString(ConnectionType type);