summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-30 09:56:18 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-30 09:56:18 +0000
commitc30be86aa8bad1e8754f0ac0efe925d79a1da26e (patch)
treeb33fffcf9dd394c6d0db2522bd9b9ae07a3a6bce /cpp/src/slice2cpp
parentBug 830. (diff)
downloadice-c30be86aa8bad1e8754f0ac0efe925d79a1da26e.tar.bz2
ice-c30be86aa8bad1e8754f0ac0efe925d79a1da26e.tar.xz
ice-c30be86aa8bad1e8754f0ac0efe925d79a1da26e.zip
Fix for bug 830 fix: amd also needs to be checked
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index f3c845e086e..8b490f2a146 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -3050,7 +3050,7 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p)
C << sp;
C << nl << "::IceInternal::DispatchStatus" << nl << scope.substr(2) << "___" << name
<< "(::IceInternal::Incoming&";
- if(!paramList.empty() || !p->throws().empty() || ret)
+ if(!paramList.empty() || !p->throws().empty() || ret || amd)
{
C << "__inS";
}