diff options
author | Jose <jose@zeroc.com> | 2012-10-15 19:08:37 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-10-15 19:08:37 +0200 |
commit | b686c08672e2ff3880bfc41c556c8107d16bd0ca (patch) | |
tree | b09ffac533f008b292443a14cff909d0c9acfda5 /cpp/src/Ice/EndpointI.cpp | |
parent | Fixed Windows build (diff) | |
download | ice-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.cpp | 5 |
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 |