diff options
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index c7ecc516a3f..7deaddb0e17 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3378,13 +3378,12 @@ 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; } |