From 395d3335d478dfb45343d63474b594f376c839d8 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Mon, 3 Mar 2008 22:26:06 +0100 Subject: Fixed bug 2739 --- cpp/src/slice2cpp/Gen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') 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; } -- cgit v1.2.3