diff options
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-x | cpp/src/slice2cs/Gen.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index 57bce9d9dfb..d0a078de015 100755 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -3861,8 +3861,6 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) _out << sp << nl << "public void ice_response" << spar << paramsAMD << epar; _out << sb; - _out << nl << "if(!_finished)"; - _out << sb; if(ret || !outParams.empty()) { _out << nl << "try"; @@ -3890,12 +3888,9 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) } _out << nl << "__response(true);"; _out << eb; - _out << eb; _out << sp << nl << "public void ice_exception(_System.Exception ex)"; _out << sb; - _out << nl << "if(!_finished)"; - _out << sb; if(throws.empty()) { _out << nl << "__exception(ex);"; @@ -3922,7 +3917,6 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) _out << eb; } _out << eb; - _out << eb; _out << eb; } |