summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-02 15:07:02 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-02 15:07:02 +0000
commit912ae5bd3be5e5a1086c59288cf099435d31aa65 (patch)
tree6ce168d1c9f6381080331f7981f1b3f896fd04c5 /cpp/src/slice2cppe/Gen.cpp
parentupdating property names (diff)
downloadice-912ae5bd3be5e5a1086c59288cf099435d31aa65.tar.bz2
ice-912ae5bd3be5e5a1086c59288cf099435d31aa65.tar.xz
ice-912ae5bd3be5e5a1086c59288cf099435d31aa65.zip
Adding string converter optimizations
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index c260e5b9579..6662a3585c0 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -613,7 +613,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
H << nl << "virtual void __read(::IceInternal::BasicStream*, bool);";
C << sp << nl << "void" << nl << scoped.substr(2) << "::__write(::IceInternal::BasicStream* __os) const";
C << sb;
- C << nl << "__os->write(::std::string(\"" << p->scoped() << "\"));";
+ C << nl << "__os->write(::std::string(\"" << p->scoped() << "\"), false);";
C << nl << "__os->startWriteSlice();";
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)
{
@@ -631,7 +631,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
C << nl << "if(__rid)";
C << sb;
C << nl << "::std::string myId;";
- C << nl << "__is->read(myId);";
+ C << nl << "__is->read(myId, false);";
C << eb;
C << nl << "__is->startReadSlice();";
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)