summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-03-03 22:26:06 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-03-03 22:26:06 +0100
commit395d3335d478dfb45343d63474b594f376c839d8 (patch)
treee9e6c7a85a000756032ffb62f1fd023497999b1c /cpp/src/slice2cpp/Gen.cpp
parentVarious fixes (diff)
downloadice-395d3335d478dfb45343d63474b594f376c839d8.tar.bz2
ice-395d3335d478dfb45343d63474b594f376c839d8.tar.xz
ice-395d3335d478dfb45343d63474b594f376c839d8.zip
Fixed bug 2739
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cpp/Gen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 99246a22d77..5dddfc3f6dd 100755
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -5293,7 +5293,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << sp << nl << "void" << nl << classScopedAMI.substr(2) << '_' << name << "::__invoke" << spar
<< paramsDeclInvoke << epar;
C << sb;
- C << nl << "__acquire(__prx);";
+ C << nl << "__acquireCallback(__prx);";
C << nl << "try";
C << sb;
if(p->returnsData())
@@ -5311,7 +5311,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << eb;
C << nl << "catch(const ::Ice::LocalException& __ex)";
C << sb;
- C << nl << "__release(__ex);";
+ C << nl << "__releaseCallback(__ex);";
C << eb;
C << eb;
@@ -5378,7 +5378,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << nl << "return;";
C << eb;
C << nl << "ice_response" << spar << args << epar << ';';
- C << nl << "__release();";
+ C << nl << "__releaseCallback();";
C << eb;
}