summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
committerJose <jose@zeroc.com>2012-10-15 19:08:37 +0200
commitb686c08672e2ff3880bfc41c556c8107d16bd0ca (patch)
treeb09ffac533f008b292443a14cff909d0c9acfda5 /cpp/src/Ice/EndpointI.cpp
parentFixed Windows build (diff)
downloadice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.bz2
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.tar.xz
ice-b686c08672e2ff3880bfc41c556c8107d16bd0ca.zip
WinRT fixes
Diffstat (limited to 'cpp/src/Ice/EndpointI.cpp')
-rw-r--r--cpp/src/Ice/EndpointI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Ice/EndpointI.cpp b/cpp/src/Ice/EndpointI.cpp
index e951fedb78c..399e2acc1ca 100644
--- a/cpp/src/Ice/EndpointI.cpp
+++ b/cpp/src/Ice/EndpointI.cpp
@@ -360,14 +360,15 @@ IceInternal::EndpointHostResolver::updateObserver()
#else
-IceInternal::EndpointHostResolver::EndpointHostResolver(const InstancePtr& instance)
+IceInternal::EndpointHostResolver::EndpointHostResolver(const InstancePtr& instance) :
+ _instance(instance)
{
}
vector<ConnectorPtr>
IceInternal::EndpointHostResolver::resolve(const string& host, int port, const EndpointIPtr& endpoint)
{
- return endpoint->connectors();
+ return endpoint->connectors(getAddresses(host, port, _instance->protocolSupport(), false));
}
void