diff options
author | Greg Studer <greg@10gen.com> | 2013-06-25 10:44:14 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2013-08-02 11:07:32 -0400 |
commit | 4439f7ac67ce428de77a51c23d7c99f3fac2b2c6 (patch) | |
tree | 18799c13899ffa967d73bfc6b2c0855574c71ed1 /src/mongo/client | |
parent | 2c0ae78a0e91f90aae488d68af4f9637eb1369dc (diff) | |
download | mongo-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.cpp | 2 |
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); |