diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-06 14:46:43 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-06 14:46:43 +0200 |
commit | b5b3a899f3418a1f477db3ce4044dda38c9cef47 (patch) | |
tree | aef7ebcf67e31e993a8d821bc8f251aac749a6f1 /cpp/src/Ice/Instance.cpp | |
parent | minor build fix (diff) | |
download | ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.tar.bz2 ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.tar.xz ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.zip |
Fixed WinRT build (transport re-factoring)
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index 9550e536180..361165c87ab 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -1104,9 +1104,12 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi EndpointFactoryPtr tcpEndpointFactory = new TcpEndpointFactory(tcpProtocolInstance); _endpointFactoryManager->add(tcpEndpointFactory); #else - EndpointFactoryPtr tcpStreamEndpointFactory = new StreamEndpointFactory(this, TCPEndpointType, "tcp"); + ProtocolInstancePtr tcpProtocolInstance = new ProtocolInstance(this, TCPEndpointType, "tcp"); + EndpointFactoryPtr tcpStreamEndpointFactory = new StreamEndpointFactory(tcpProtocolInstance); _endpointFactoryManager->add(tcpStreamEndpointFactory); - EndpointFactoryPtr sslStreamEndpointFactory = new StreamEndpointFactory(this, IceSSL::EndpointType, "ssl"); + + ProtocolInstancePtr sslProtocolInstance = new ProtocolInstance(this, IceSSL::EndpointType, "ssl"); + EndpointFactoryPtr sslStreamEndpointFactory = new StreamEndpointFactory(sslProtocolInstance); _endpointFactoryManager->add(sslStreamEndpointFactory); #endif ProtocolInstancePtr udpProtocolInstance = new ProtocolInstance(this, UDPEndpointType, "udp"); |