summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-19 17:06:45 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-19 17:06:45 +0000
commitf03fbc1d047e79e6b5dbf2b28e737b5db90c3da0 (patch)
treeeab0577aaa113265d1309d55c5812a650eb77f62 /cpp/src/slice2cpp/Gen.cpp
parentfix typo in makedist script (diff)
downloadice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.tar.bz2
ice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.tar.xz
ice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.zip
Back out change
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 930fee15337..0691a80505c 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -4143,7 +4143,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
H << nl << "protected:";
H.inc();
H << sp;
- H << nl << "virtual bool __response(bool);";
+ H << nl << "virtual void __response(bool);";
H << eb << ';';
H << sp << nl << "typedef ::IceUtil::Handle< " << classScopedAMI << '_' << name << "> " << classNameAMI
<< '_' << name << "Ptr;";
@@ -4173,7 +4173,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << nl << "__send();";
C << eb;
- C << sp << nl << "bool" << nl << classScopedAMI.substr(2) << '_' << name << "::__response(bool __ok)";
+ C << sp << nl << "void" << nl << classScopedAMI.substr(2) << '_' << name << "::__response(bool __ok)";
C << sb;
writeAllocateCode(C, outParams, ret);
C << nl << "try";
@@ -4202,7 +4202,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << nl << "catch(const " << fixKwd((*i)->scoped()) << "& __ex)";
C << sb;
C << nl << "ice_exception(__ex);";
- C << nl << "return false;";
+ C << nl << "return;";
C << eb;
}
C << nl << "catch(const ::Ice::UserException& __ex)";
@@ -4219,10 +4219,10 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << eb;
C << nl << "catch(const ::Ice::LocalException& __ex)";
C << sb;
- C << nl << "return __finished(__ex);";
+ C << nl << "__finished(__ex);";
+ C << nl << "return;";
C << eb;
C << nl << "ice_response" << spar << args << epar << ';';
- C << nl << "return false;";
C << eb;
}