summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/NetworkProxy.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-02-08 18:02:47 -0500
committerBernard Normier <bernard@zeroc.com>2017-02-08 18:02:47 -0500
commitcee5e5067eff15b5a22a247805edb6c8dda77074 (patch)
treee67d772a753e3ffa491571a101afb43a24824e5e /cpp/src/Ice/NetworkProxy.cpp
parentUpdate Debug settings for VS 2017 (VC141) (diff)
downloadice-cee5e5067eff15b5a22a247805edb6c8dda77074.tar.bz2
ice-cee5e5067eff15b5a22a247805edb6c8dda77074.tar.xz
ice-cee5e5067eff15b5a22a247805edb6c8dda77074.zip
Removed cpp:unscoped from all Ice enums
CompressBatch is now "scoped" in C++98 and ObjC
Diffstat (limited to 'cpp/src/Ice/NetworkProxy.cpp')
-rw-r--r--cpp/src/Ice/NetworkProxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/NetworkProxy.cpp b/cpp/src/Ice/NetworkProxy.cpp
index b4055bad7b9..6e70012e15f 100644
--- a/cpp/src/Ice/NetworkProxy.cpp
+++ b/cpp/src/Ice/NetworkProxy.cpp
@@ -168,7 +168,7 @@ NetworkProxyPtr
SOCKSNetworkProxy::resolveHost(ProtocolSupport protocol) const
{
assert(!_host.empty());
- return new SOCKSNetworkProxy(getAddresses(_host, _port, protocol, Ice::Random, false, true)[0]);
+ return new SOCKSNetworkProxy(getAddresses(_host, _port, protocol, Ice::ICE_ENUM(EndpointSelectionType, Random), false, true)[0]);
}
Address
@@ -272,7 +272,7 @@ NetworkProxyPtr
HTTPNetworkProxy::resolveHost(ProtocolSupport protocol) const
{
assert(!_host.empty());
- return new HTTPNetworkProxy(getAddresses(_host, _port, protocol, Ice::Random, false, true)[0], protocol);
+ return new HTTPNetworkProxy(getAddresses(_host, _port, protocol, Ice::ICE_ENUM(EndpointSelectionType, Random), false, true)[0], protocol);
}
Address