summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/StreamSocket.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-08-01 10:09:48 -0400
committerBernard Normier <bernard@zeroc.com>2016-08-01 10:09:48 -0400
commit4aa7ae5129a9cb66f5ea26165310e96603af576c (patch)
treef8ee6859ad547b59cc28eadb1212f403f51dfff7 /cpp/src/Ice/StreamSocket.cpp
parentDo not initialize OpenSSL locks if already done by other library. (diff)
downloadice-4aa7ae5129a9cb66f5ea26165310e96603af576c.tar.bz2
ice-4aa7ae5129a9cb66f5ea26165310e96603af576c.tar.xz
ice-4aa7ae5129a9cb66f5ea26165310e96603af576c.zip
Move StringConverter API to namespace Ice
Diffstat (limited to 'cpp/src/Ice/StreamSocket.cpp')
-rwxr-xr-xcpp/src/Ice/StreamSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/StreamSocket.cpp b/cpp/src/Ice/StreamSocket.cpp
index b0964507277..7a405c30a3d 100755
--- a/cpp/src/Ice/StreamSocket.cpp
+++ b/cpp/src/Ice/StreamSocket.cpp
@@ -106,7 +106,7 @@ StreamSocket::connect(Buffer& readBuffer, Buffer& writeBuffer)
// Windows API.
//
const Address& addr = _proxy ? _proxy->getAddress() : _addr;
- ex.host = IceUtil::wstringToString(addr.host->RawName->Data(), IceUtil::getProcessStringConverter());
+ ex.host = wstringToString(addr.host->RawName->Data(), Ice::getProcessStringConverter());
throw;
}
}
@@ -553,7 +553,7 @@ StreamSocket::startWrite(Buffer& buf)
// Don't need to pass a wide string converter as the wide string come from
// Windows API.
//
- ex.host = IceUtil::wstringToString(addr.host->RawName->Data(), IceUtil::getProcessStringConverter());
+ ex.host = wstringToString(addr.host->RawName->Data(), Ice::getProcessStringConverter());
throw;
}
return false;