diff options
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 1e9688b7f6f..4da25e138b0 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3388,12 +3388,13 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) } C << eb; writeUnmarshalCode(C, outParams, ret); - C << nl << "ice_response(" << args << ");"; C << eb; C << nl << "catch(const ::Ice::Exception& __ex)"; C << sb; C << nl << "ice_exception(__ex);"; + C << nl << "return;"; C << eb; + C << nl << "ice_response(" << args << ");"; C << eb; } |