summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index f4076043d09..bd9132b0fe2 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -4304,7 +4304,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << nl << "__send();";
_out << eb;
- _out << sp << nl << "protected override bool __response(bool __ok)";
+ _out << sp << nl << "protected override void __response(bool __ok)";
_out << sb;
for(q = outParams.begin(); q != outParams.end(); ++q)
{
@@ -4386,18 +4386,18 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << eb;
_out << nl << "catch(Ice.LocalException __ex)";
_out << sb;
- _out << nl << "return __finished(__ex);";
+ _out << nl << "__finished(__ex);";
+ _out << nl << "return;";
_out << eb;
if(!throws.empty())
{
_out << nl << "catch(Ice.UserException __ex)";
_out << sb;
_out << nl << "ice_exception(__ex);";
- _out << nl << "return false;";
+ _out << nl << "return;";
_out << eb;
}
_out << nl << "ice_response" << spar << args << epar << ';';
- _out << nl << "return false;";
_out << eb;
_out << eb;
}