summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-09-18 03:53:45 +0000
committerMarc Laukien <marc@zeroc.com>2001-09-18 03:53:45 +0000
commitfd6126b20ce3a252b26428c25d95ddf75f5e0b24 (patch)
tree691a1882ac4248e9860340e5cafe59d0071103c7 /cpp/src/slice2cpp/Gen.cpp
parentfixes (diff)
downloadice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.tar.bz2
ice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.tar.xz
ice-fd6126b20ce3a252b26428c25d95ddf75f5e0b24.zip
fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 28326387ee8..ffc3c1f346c 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -803,8 +803,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
}
else
{
- C << nl << "_delegate = 0;";
- C << nl << "__ex.raise();";
+ C << nl << "__rethrowException(*__ex.get());";
}
C << eb;
C << nl << "catch (const ::Ice::LocalException& __ex)";
@@ -1118,7 +1117,7 @@ Slice::Gen::DelegateMVisitor::visitOperation(const OperationPtr& p)
C << sp;
C << nl << retS << nl << "IceDelegateM" << scoped << paramsDecl;
C << sb;
- C << nl << "::IceInternal::Outgoing __out(__emitter(), __reference());";
+ C << nl << "::IceInternal::Outgoing __out(__emitter, __reference);";
if (ret || !outParams.empty() || !throws.empty())
{
C << nl << "::IceInternal::Stream* __is = __out.is();";