diff options
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r-- | cpp/src/Ice/EndpointFactoryManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp index b4c4896d2aa..3a7ee7e393c 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; |