summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointFactoryManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r--cpp/src/Ice/EndpointFactoryManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp
index 698fcfbce28..8ce75b7f108 100644
--- a/cpp/src/Ice/EndpointFactoryManager.cpp
+++ b/cpp/src/Ice/EndpointFactoryManager.cpp
@@ -113,7 +113,7 @@ IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint)
// Code below left in place for debugging.
EndpointIPtr e = factory->create(str.substr(end), oaEndpoint);
- BasicStream bs(_instance.get());
+ BasicStream bs(_instance.get(), Ice::currentProtocolEncoding);
e->streamWrite(&bs);
bs.i = bs.b.begin();
short type;
@@ -140,7 +140,7 @@ IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint)
// and ask the factory to read the endpoint data from that stream to create
// the actual endpoint.
//
- BasicStream bs(_instance.get());
+ BasicStream bs(_instance.get(), Ice::currentProtocolEncoding);
ue->streamWrite(&bs);
bs.i = bs.b.begin();
short type;