summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2013-06-25 10:44:14 -0400
committerGreg Studer <greg@10gen.com>2013-08-02 11:07:32 -0400
commit4439f7ac67ce428de77a51c23d7c99f3fac2b2c6 (patch)
tree18799c13899ffa967d73bfc6b2c0855574c71ed1 /src/mongo/client
parent2c0ae78a0e91f90aae488d68af4f9637eb1369dc (diff)
downloadmongo-4439f7ac67ce428de77a51c23d7c99f3fac2b2c6.tar.gz
SERVER-10007 compile fail, toString() needed for str::stream()
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/dbclient_rs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp
index eac4063e537..0c1c8b62122 100644
--- a/src/mongo/client/dbclient_rs.cpp
+++ b/src/mongo/client/dbclient_rs.cpp
@@ -1852,7 +1852,7 @@ namespace mongo {
// Assert here instead of returning NULL since the contract of this method is such
// that returning NULL means none of the nodes were good, which is not the case here.
- uassert(16532, str::stream() << "Failed to connect to " << _lastSlaveOkHost,
+ uassert(16532, str::stream() << "Failed to connect to " << _lastSlaveOkHost.toString(),
newConn != NULL);
_lastSlaveOkConn.reset(newConn);