summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-26 14:51:44 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-26 14:51:44 +0000
commitcf3303e93032944bb7a19d248b623a728ce4d2be (patch)
treed7cfeac776ef9e129eae03301ff2d74e64a422c0 /cpp/src/slice2cppe
parentRemoving some filenames from removal list because they are no longer in the (diff)
downloadice-cf3303e93032944bb7a19d248b623a728ce4d2be.tar.bz2
ice-cf3303e93032944bb7a19d248b623a728ce4d2be.tar.xz
ice-cf3303e93032944bb7a19d248b623a728ce4d2be.zip
Removed string converter
Diffstat (limited to 'cpp/src/slice2cppe')
-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 917eb1479c8..4d975aa680b 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -632,7 +632,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() << "\"), false);";
+ C << nl << "__os->write(::std::string(\"" << p->scoped() << "\"));";
C << nl << "__os->startWriteSlice();";
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)
{
@@ -650,7 +650,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
C << nl << "if(__rid)";
C << sb;
C << nl << "::std::string myId;";
- C << nl << "__is->read(myId, false);";
+ C << nl << "__is->read(myId);";
C << eb;
C << nl << "__is->startReadSlice();";
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)