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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index e4971e68b24..4f5b760aa71 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -4565,7 +4565,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << sp << nl << "public void invoke__" << spar << "Ice.ObjectPrx prx__"
<< paramsInvoke << "_System.Collections.Generic.Dictionary<string, string> ctx__" << epar;
_out << sb;
- _out << nl << "acquire__(prx__);";
+ _out << nl << "acquireCallback__(prx__);";
_out << nl << "try";
_out << sb;
if(p->returnsData())
@@ -4587,7 +4587,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << eb;
_out << nl << "catch(Ice.LocalException ex__)";
_out << sb;
- _out << nl << "release__(ex__);";
+ _out << nl << "releaseCallback__(ex__);";
_out << eb;
_out << eb;
@@ -4696,7 +4696,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << nl << "return;";
_out << eb;
_out << nl << "ice_response" << spar << args << epar << ';';
- _out << nl << "release__();";
+ _out << nl << "releaseCallback__();";
_out << eb;
_out << eb;
}