summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointFactoryManager.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-02-01 18:15:57 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-02-01 18:15:57 +0100
commitba166110beb86f147aac6d221c9c41a1fb45d797 (patch)
tree657d223239f76d16cf265ac95ce0b6b8813471da /cpp/src/Ice/EndpointFactoryManager.cpp
parentIce:/8929351 - remove tp_libidr/tp_bindir (diff)
downloadice-ba166110beb86f147aac6d221c9c41a1fb45d797.tar.bz2
ice-ba166110beb86f147aac6d221c9c41a1fb45d797.tar.xz
ice-ba166110beb86f147aac6d221c9c41a1fb45d797.zip
Fix for ICE-5140 - an opaque endpoint which doesn't specify -e is assumed to be a 1.0 encoded endpoint
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r--cpp/src/Ice/EndpointFactoryManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp
index 6cfe7757c82..8ce75b7f108 100644
--- a/cpp/src/Ice/EndpointFactoryManager.cpp
+++ b/cpp/src/Ice/EndpointFactoryManager.cpp
@@ -131,7 +131,7 @@ IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint)
//
if(protocol == "opaque")
{
- EndpointIPtr ue = new OpaqueEndpointI(str.substr(end), _instance);
+ EndpointIPtr ue = new OpaqueEndpointI(str.substr(end));
factory = get(ue->type());
if(factory)
{