From cf3303e93032944bb7a19d248b623a728ce4d2be Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Mon, 26 Mar 2007 14:51:44 +0000 Subject: Removed string converter --- cpp/src/slice2cppe/Gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2cppe/Gen.cpp') 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) -- cgit v1.2.3