summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointFactoryManager.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-04-18 14:33:16 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-04-18 14:33:16 +0200
commit2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc (patch)
tree0a381f9b284eb7ca5acc9bca5a97659d19874f9d /cpp/src/Ice/EndpointFactoryManager.cpp
parentICE-4828 - Buffer.h undeclared ptrdiff_t issue on OpenSUSE (diff)
downloadice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.bz2
ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.tar.xz
ice-2ba4d4e0ca7aeade69ee00ab17d5fa1b69372ffc.zip
Added support for encoding versioning
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 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;