diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-12 19:03:58 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-12 19:03:58 +0200 |
commit | ef5846e612d315e89b3101ef280f7ef0a7e3556e (patch) | |
tree | 211f449c0b245917b7e5306be0141b017203d6dc /cpp/src/Ice/Instance.cpp | |
parent | Minor build system fixes (diff) | |
download | ice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.tar.bz2 ice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.tar.xz ice-ef5846e612d315e89b3101ef280f7ef0a7e3556e.zip |
Added IceWS support to WinRT
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index 39668b5340e..20744535880 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -1105,13 +1105,13 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi EndpointFactoryPtr tcpEndpointFactory = new TcpEndpointFactory(tcpProtocolInstance); _endpointFactoryManager->add(tcpEndpointFactory); #else - ProtocolInstancePtr tcpProtocolInstance = new ProtocolInstance(this, TCPEndpointType, "tcp"); - EndpointFactoryPtr tcpStreamEndpointFactory = new StreamEndpointFactory(tcpProtocolInstance); - _endpointFactoryManager->add(tcpStreamEndpointFactory); + ProtocolInstancePtr tcpInstance = new ProtocolInstance(this, TCPEndpointType, "tcp"); + EndpointFactoryPtr tcpFactory = new StreamEndpointFactory(tcpInstance); + _endpointFactoryManager->add(tcpFactory); - ProtocolInstancePtr sslProtocolInstance = new ProtocolInstance(this, IceSSL::EndpointType, "ssl"); - EndpointFactoryPtr sslStreamEndpointFactory = new StreamEndpointFactory(sslProtocolInstance); - _endpointFactoryManager->add(sslStreamEndpointFactory); + ProtocolInstancePtr sslInstance = new ProtocolInstance(this, IceSSL::EndpointType, "ssl"); + EndpointFactoryPtr sslFactory = new StreamEndpointFactory(sslInstance); + _endpointFactoryManager->add(sslFactory); #endif ProtocolInstancePtr udpProtocolInstance = new ProtocolInstance(this, UDPEndpointType, "udp"); EndpointFactoryPtr udpEndpointFactory = new UdpEndpointFactory(udpProtocolInstance); |