summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Transformer.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-24 10:07:46 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-24 10:07:46 +0100
commit566ae61db91d991dbaf38d280d285faddddce5a6 (patch)
tree4c014a63f061e29ee753e74d77bad414df801fd5 /cpp/src/FreezeScript/Transformer.cpp
parentminor fixes to doc files (diff)
downloadice-566ae61db91d991dbaf38d280d285faddddce5a6.tar.bz2
ice-566ae61db91d991dbaf38d280d285faddddce5a6.tar.xz
ice-566ae61db91d991dbaf38d280d285faddddce5a6.zip
More fixes for ICE-4841 - changed createInputStream with bool parameter to wrapInputStream
Diffstat (limited to 'cpp/src/FreezeScript/Transformer.cpp')
-rw-r--r--cpp/src/FreezeScript/Transformer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/FreezeScript/Transformer.cpp b/cpp/src/FreezeScript/Transformer.cpp
index c10c13e37a9..56c1f433ddd 100644
--- a/cpp/src/FreezeScript/Transformer.cpp
+++ b/cpp/src/FreezeScript/Transformer.cpp
@@ -1960,8 +1960,8 @@ FreezeScript::RecordDescriptor::transformRecord(const Ice::ByteSeq& inKeyBytes,
Ice::ByteSeq& outKeyBytes,
Ice::ByteSeq& outValueBytes)
{
- Ice::InputStreamPtr inKey = Ice::createInputStream(_info->communicator, inKeyBytes, false);
- Ice::InputStreamPtr inValue = Ice::createInputStream(_info->communicator, inValueBytes, false);
+ Ice::InputStreamPtr inKey = Ice::wrapInputStream(_info->communicator, inKeyBytes);
+ Ice::InputStreamPtr inValue = Ice::wrapInputStream(_info->communicator, inValueBytes);
inValue->startEncapsulation();
Ice::OutputStreamPtr outKey = Ice::createOutputStream(_info->communicator);